docstr: Check correct error is returned for incorrect module manipulation.
docstr_tok: ["Check","correct","error","is","returned","for","incorrect","module","manipulation","."]
code: def test_complex_import_manipulation0(self):
      """
      Check correct error is returned for incorrect module manipulation.
      """
      code = """
              import math
              def unsupported_module():
                  return math"""
  
      with self.assertRaises(pythran.syntax.PythranSyntaxError) as ex:
          pythran.compile_pythrancode(
              "complex_import_manipulation0", 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 7 for calling the TestImportAll obj's underlying member method code with example usage: obj.test_complex_import_manipulation0() without return types