code: def test_binary_search(self):
      code = """
  def binary_search(seq, t):
      min = 0; max = len(seq) - 1
      while 1:
          if max < min:
              return -1
          m = (min + max) // 2
          if seq[m] < t:
              min = m + 1
          elif seq[m] > t:
              max = m - 1
          else:
              return m
  """
      self.run_test(
          code,
          [1, 2, 3, 4, 5, 6, 7, 8, 9],
          4,
          binary_search=[List[int], int],
      )
  
file_path: pythran/pythran/tests/test_scipy.py
imports: from pythran.typing import List, NDArray
  from pythran.tests import TestFromDir, TestEnv
  import os
  import numpy
  import platform
label_desc: Use image node_id 4 for calling the TestScipy obj's underlying member method code with example usage: obj.test_binary_search() without return types