code: def test_multidigraph1(self):
      G = nx.MultiDiGraph([(1, 2), (2, 1)])
      L = nx.line_graph(G)
      assert edges_equal(
          L.edges(), [((1, 2, 0), (2, 1, 0)), ((2, 1, 0), (1, 2, 0))]
      )
  
imports: import pytest
  import networkx
  from networkx.generators import line
  from networkx.utils import edges_equal
label_desc: Use image node_id 7 for calling the TestGeneratorLine obj's underlying member method code with example usage: obj.test_multidigraph1() without return types