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

Function _ignore_error

src/_pytest/pathlib.py:55–59  ·  view source on GitHub ↗
(exception)

Source from the content-addressed store, hash-verified

53
54
55def _ignore_error(exception):
56 return (
57 getattr(exception, "errno", None) in _IGNORED_ERRORS
58 or getattr(exception, "winerror", None) in _IGNORED_WINERRORS
59 )
60
61
62def get_lock_path(path: _AnyPurePath) -> _AnyPurePath:

Callers 1

visitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected