class_docstr: Tests for bipartite matching algorithms.
class_docstr_tok: ["Tests","for","bipartite","matching","algorithms","."]
code: def test_hopcroft_karp_matching_disconnected(self):
      with pytest.raises(nx.AmbiguousSolution):
          match = hopcroft_karp_matching(self.disconnected_graph)
  
imports: import itertools
  import pytest
  import networkx
  from networkx.algorithms.bipartite.matching import eppstein_matching, hopcroft_karp_matching, maximum_matching, minimum_weight_full_matching, to_vertex_cover
label_desc: Use image node_id 10 for calling the TestMatching obj's underlying member method code with example usage: obj.test_hopcroft_karp_matching_disconnected() without return types