code: def test_cython2(self):
      # The Cython cell defines the functions f() and call().
      ip = self._ip
      ip.run_cell_magic("cython", "-2", cython3_code)
      ip.ex("g = f(10); h = call(10)")
      self.assertEqual(ip.user_ns["g"], 2 // 10)
      self.assertEqual(ip.user_ns["h"], 2 // 10)
  
imports: from __future__ import absolute_import
  import os
  import sys
  from contextlib import contextmanager
  from Cython.Build import IpythonMagic
  from Cython.TestUtils import CythonTest
label_desc: Use image node_id 9 for calling the TestIPythonMagic obj's underlying member method code with example usage: obj.test_cython2() without return types