code: def test_reverse_copy(self):
      G = nx.DiGraph([(0, 1), (1, 2)])
      R = G.reverse()
      assert sorted(R.edges()) == [(1, 0), (2, 1)]
      R.remove_edge(1, 0)
      assert sorted(R.edges()) == [(2, 1)]
      assert sorted(G.edges()) == [(0, 1), (1, 2)]
  
imports: import pytest
  import networkx
  from networkx.utils import nodes_equal
  from .test_graph import BaseAttrGraphTester, BaseGraphTester
  from .test_graph import TestEdgeSubgraph
  from .test_graph import TestGraph
label_desc: Use image node_id 16 for calling the BaseDiGraphTester obj's underlying member method code with example usage: obj.test_reverse_copy() without return types