code: def test_cython_name(self):
      # The Cython module named 'mymodule' defines the function f.
      ip = self._ip
      ip.run_cell_magic("cython", "--name=mymodule", code)
      # This module can now be imported in the interactive namespace.
      ip.ex("import mymodule; g = mymodule.f(10)")
      self.assertEqual(ip.user_ns["g"], 20.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 6 for calling the TestIPythonMagic obj's underlying member method code with example usage: obj.test_cython_name() without return types