MCPcopy
hub / github.com/pytest-dev/pytest / _is_skipped

Function _is_skipped

src/_pytest/unittest.py:527–529  ·  view source on GitHub ↗

Return True if the given object has been marked with @unittest.skip.

(obj)

Source from the content-addressed store, hash-verified

525
526
527def _is_skipped(obj) -> bool:
528 """Return True if the given object has been marked with @unittest.skip."""
529 return bool(getattr(obj, "__unittest_skip__", False))
530
531
532def pytest_configure() -> None:

Callers 4

collectMethod · 0.85
runtestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…