code: def test_pytestconfig_is_session_scoped() -> None:
      from _pytest.fixtures import pytestconfig
  
      marker = getfixturemarker(pytestconfig)
      assert marker is not None
      assert marker.scope == "session"
  
imports: import pytest
  from _pytest._code import getfslineno
  from _pytest.fixtures import getfixturemarker
  from _pytest.pytester import Pytester
  from _pytest.python import Function
label_desc: Use image node_id 2 for calling a global function with example usage: test_pytestconfig_is_session_scoped() without return types