code: def test_no_legal_operation(self):
      data = pd.DataFrame(
          [
              [1, 0, 0, 1, 0, 0, 1, 1, 0],
              [1, 0, 1, 0, 0, 1, 0, 1, 0],
              [1, 0, 0, 0, 0, 1, 0, 1, 1],
              [1, 1, 0, 1, 0, 1, 1, 0, 0],
              [0, 0, 1, 0, 0, 1, 1, 0, 0],
          ],
          columns=list("ABCDEFGHI"),
      )
      est = HillClimbSearch(data)
      best_model = est.estimate(
          fixed_edges=[("A", "B"), ("B", "C")],
          white_list=[("F", "C")],
          show_progress=False,
      )
      self.assertEqual(
          set(best_model.edges()),
          set([("A", "B"), ("B", "C"), ("F", "C")]),
      )
  
file_path: pgmpy/pgmpy/tests/test_estimators/test_HillClimbSearch.py
imports: import unittest
  import numpy
  import pandas
  from pgmpy.estimators import HillClimbSearch, K2Score
  from pgmpy.models import BayesianNetwork
label_desc: Use image node_id 7 for calling the TestHillClimbEstimator obj's underlying member method code with example usage: obj.test_no_legal_operation() without return types