code: def test_digraph_rev2(self):
      G = nx.DiGraph()
      nx.add_path(G, range(4))
      x = list(nx.edge_bfs(G, [3], orientation="reverse"))
      x_ = [(2, 3, REVERSE), (1, 2, REVERSE), (0, 1, REVERSE)]
      assert x == x_
  
imports: import pytest
  import networkx
  from networkx.algorithms.traversal.edgedfs import FORWARD, REVERSE
label_desc: Use image node_id 11 for calling the TestEdgeBFS obj's underlying member method code with example usage: obj.test_digraph_rev2() without return types