docstr: Check correct error is returned for incorrect module import.
  
  Check is done for module as .py file.
docstr_tok: ["Check","correct","error","is","returned","for","incorrect","module","import",".","Check","is","done","for","module","as",".py","file","."]
code: def test_import_collections(self):
      """
      Check correct error is returned for incorrect module import.
  
      Check is done for module as .py file.
      """
      code = """
              import collections
              def unsupported_module():
                  return collections.Counter()"""
  
      with self.assertRaises(pythran.syntax.PythranSyntaxError) as ex:
          pythran.compile_pythrancode(
              "import_collections", dedent(code), pyonly=True
          )
  
      self.assertIn(
          "Module 'collections' not found.", str(ex.exception)
      )
  
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 6 for calling the TestImportAll obj's underlying member method code with example usage: obj.test_import_collections() without return types