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

Function _is_skipped

src/_pytest/unittest.py:403–405  ·  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

401
402
403def _is_skipped(obj) -> bool:
404 """Return True if the given object has been marked with @unittest.skip."""
405 return bool(getattr(obj, "__unittest_skip__", False))

Callers 3

collectMethod · 0.85
fixtureFunction · 0.85
runtestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected