code: def pytest_configure(config):
      config.addinivalue_line(
          "filterwarnings",
          "error::airflow.utils.context.AirflowContextDeprecationWarning",
      )
      config.addinivalue_line(
          "markers",
          "integration(name): mark test to run with named integration",
      )
      config.addinivalue_line(
          "markers",
          "backend(name): mark test to run with named backend",
      )
      config.addinivalue_line(
          "markers", "system(name): mark test to run with named system"
      )
      config.addinivalue_line(
          "markers",
          "long_running: mark test that run for a long time (many minutes)",
      )
      config.addinivalue_line(
          "markers",
          "quarantined: mark test that are in quarantine (i.e. flaky, need to be isolated and fixed)",
      )
      config.addinivalue_line(
          "markers",
          "credential_file(name): mark tests that require credential file in CREDENTIALS_DIR",
      )
      config.addinivalue_line(
          "markers",
          "need_serialized_dag: mark tests that require dags in serialized form to be present",
      )
      config.addinivalue_line(
          "markers",
          "db_test: mark tests that require database to be present",
      )
      config.addinivalue_line(
          "markers",
          "non_db_test_override: you can mark individual tests with this marker to override the db_test marker",
      )
      config.addinivalue_line(
          "markers",
          "virtualenv_operator: virtualenv operator tests are 'long', we should run them separately",
      )
      config.addinivalue_line(
          "markers",
          "external_python_operator: external python operator tests are 'long', we should run them separately",
      )
  
      os.environ[
          "_AIRFLOW__SKIP_DATABASE_EXECUTOR_COMPATIBILITY_CHECK"
      ] = "1"
      configure_warning_output(config)
  
imports: from __future__ import annotations
  import json
  import os
  import platform
  import subprocess
  import sys
  import warnings
  from contextlib import ExitStack, suppress
  from datetime import datetime, timedelta
  from pathlib import Path
  from typing import TYPE_CHECKING
  import pytest
  import time_machine
  from itsdangerous import URLSafeSerializer
label_desc: Use image node_id 9 for calling a global function with example usage: pytest_configure(config) without return types