code: def test_import_modules():
      """Test that importing imageio does not import modules that should
      not be imported.
      """
      modnames = loaded_modules("imageio", 3)
  
      # Test if everything seems to be there
      assert "imageio.core" in modnames
      assert "imageio.plugins" in modnames
  
      # Test that modules that should not be imported are indeed not imported
      assert "imageio.freeze" not in modnames
      assert "imageio.testing" not in modnames
  
file_path: imageio/tests/test_meta.py
imports: from __future__ import print_function
  import os
  import sys
  import subprocess
  from pytest import raises
  import imageio
label_desc: Use image node_id 5 for calling a global function with example usage: test_import_modules() without return types