code: def test_no_additional_imports():
      # test that 'import geopandas' does not import any of the optional or
      # development dependencies
      blacklist = {
          "pytest",
          "py",
          "ipython",
          # fiona actually gets imported if installed (but error suppressed until used)
          # "fiona",
          # "matplotlib",  # matplotlib gets imported by pandas, see below
          "mapclassify",
          "sqlalchemy",
          "psycopg2",
          "geopy",
          "geoalchemy2",
          "matplotlib",
      }
  
      code = """
  import sys
  import geopandas
  blacklist = {0!r}
  
  mods = blacklist & set(m.split('.')[0] for m in sys.modules)
  if mods:
      sys.stderr.write('err: geopandas should not import: {{}}'.format(', '.join(mods)))
      sys.exit(len(mods))
  """.format(
          blacklist
      )
      call = [sys.executable, "-c", code]
      returncode = subprocess.run(call).returncode
      assert returncode == 0
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_no_additional_imports() without return types