code: def test_bipartite_directed(self):
      G = bipartite.random_graph(10, 10, 0.1, directed=True)
      assert bipartite.is_bipartite(G)
  
file_path: networkx/networkx/algorithms/bipartite/tests/test_basic.py
imports: import pytest
  import networkx
  from networkx.algorithms import bipartite
label_desc: Use image node_id 4 for calling the TestBipartiteBasic obj's underlying member method code with example usage: obj.test_bipartite_directed() without return types