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

Method test_mtime

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

Source from the content-addressed store, hash-verified

310 assert url.size() > len("samplefile")
311
312 def test_mtime(self, path1):
313 url = path1.join("samplefile")
314 assert url.mtime() > 0
315
316 def test_relto_wrong_type(self, path1):
317 with pytest.raises(TypeError):

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
mtimeMethod · 0.45

Tested by

no test coverage detected