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

Function _is_skipped

src/_pytest/unittest.py:527–529  ·  src/_pytest/unittest.py::_is_skipped

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 class="st">""class="st">"Return True if the given object has been marked with @unittest.skip."class="st">""
529 return bool(getattr(obj, class="st">"__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