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

Method test_error_preservation

testing/_py/test_local.py:992–996  ·  view source on GitHub ↗
(self, path1)

Source from the content-addressed store, hash-verified

990 assert numdir.new(ext=str(j)).check()
991
992 def test_error_preservation(self, path1):
993 with pytest.raises(EnvironmentError):
994 path1.join("qwoeqiwe").mtime()
995 with pytest.raises(EnvironmentError):
996 path1.join("qwoeqiwe").read()
997
998 # def test_parentdirmatch(self):
999 # local.parentdirmatch('std', startmodule=__name__)

Callers

nothing calls this directly

Calls 3

joinMethod · 0.80
mtimeMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected