code: def test_complex_import_manipulation3(self):
      code = """
              from numpy import random
              def unsupported_module():
                  return random.i_do_not_exist()"""
  
      with self.assertRaises(pythran.syntax.PythranSyntaxError) as ex:
          pythran.compile_pythrancode(
              "complex_import_manipulation3", dedent(code), pyonly=True
          )
  
file_path: pythran/pythran/tests/test_import_all.py
imports: from pythran.tests import TestEnv
  from textwrap import dedent
  import pythran
label_desc: Use image node_id 10 for calling the TestImportAll obj's underlying member method code with example usage: obj.test_complex_import_manipulation3() without return types