MCPcopy Create free account
hub / github.com/pytest-dev/pytest / scope

Method scope

src/_pytest/fixtures.py:454–456  ·  view source on GitHub ↗

Scope string, one of "function", "class", "module", "package", "session".

(self)

Source from the content-addressed store, hash-verified

452
453 @property
454 def scope(self) -> "_ScopeName":
455 """Scope string, one of "function", "class", "module", "package", "session"."""
456 return self._scope.value
457
458 @property
459 def fixturenames(self) -> List[str]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected