code: def pytest_namespace():
      """Add import suppression and test requirements to `pytest` namespace"""
      try:
          import numpy as np
      except ImportError:
          np = None
      try:
          import scipy
      except ImportError:
          scipy = None
      try:
          from pybind11_tests import have_eigen
      except ImportError:
          have_eigen = False
      pypy = platform.python_implementation() == "PyPy"
  
      skipif = pytest.mark.skipif
      return {
          "suppress": suppress,
          "requires_numpy": skipif(
              not np, reason="numpy is not installed"
          ),
          "requires_scipy": skipif(
              not np, reason="scipy is not installed"
          ),
          "requires_eigen_and_numpy": skipif(
              not have_eigen or not np,
              reason="eigen and/or numpy are not installed",
          ),
          "requires_eigen_and_scipy": skipif(
              not have_eigen or not scipy,
              reason="eigen and/or scipy are not installed",
          ),
          "unsupported_on_pypy": skipif(
              pypy, reason="unsupported on PyPy"
          ),
          "gc_collect": gc_collect,
      }
  
imports: import pytest
  import textwrap
  import difflib
  import re
  import sys
  import contextlib
  import platform
  import gc
label_desc: Use image node_id 13 for calling a global function with example usage: pytest_namespace() and returns: dict