code: def pytest_configure(config):
      """Pytest configuration hook, for docs see:
      https://docs.pytest.org/en/7.1.x/reference/reference.html#pytest.hookspec.pytest_configure
  
      This hook runs before any tests are collected or run.
      """
      config.addinivalue_line(
          "markers", "slow: mark test as slow to run"
      )
  
      # This avoids running a version check when importing anything from lightly.
      # See lightly/__init__.py. Note that we cannot mock the version check
      # in __init__.py because it already runs when pytest collects the tests. This
      # happens before any fixtures are applied and therefore the mocking is not yet in
      # place.
      os.environ["LIGHTLY_DID_VERSION_CHECK"] = "True"
  
      # This avoids sending requests to the API.
      os.environ["LIGHTLY_SERVER_LOCATION"] = "https://dummy-url"
  
imports: import os
  from unittest import mock
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_configure(config) without return types