code: def pytest_runtest_setup(item):
      fname = item.fspath.strpath
      if (
          fname.endswith(os.path.join("keras", "_generator.py"))
          or fname.endswith(os.path.join("tensorflow", "_generator.py"))
          or fname.endswith("miscellaneous.rst")
      ):
          try:
              import tensorflow  # noqa
          except ImportError:
              pytest.skip("The tensorflow package is not installed.")
  
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_runtest_setup(item) without return types