code: def test_cython3(self):
      # The Cython cell defines the functions f() and call().
      ip = self._ip
      ip.run_cell_magic("cython", "-3", cython3_code)
      ip.ex("g = f(10); h = call(10)")
      self.assertEqual(ip.user_ns["g"], 2.0 / 10.0)
      self.assertEqual(ip.user_ns["h"], 2.0 / 10.0)
  
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 8 for calling the TestIPythonMagic obj's underlying member method code with example usage: obj.test_cython3() without return types