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

Method test_load

testing/_py/test_local.py:320–324  ·  testing/_py/test_local.py::CommonFSTests.test_load
(self, path1)

Source from the content-addressed store, hash-verified

318 path1.relto(42)
319
320 def test_load(self, path1):
321 p = path1.join(class="st">"samplepickle")
322 obj = p.load()
323 assert type(obj) is dict
324 assert obj.get(class="st">"answer", None) == 42
325
326 def test_visit_filesonly(self, path1):
327 p = []

Callers

nothing calls this directly

Calls 3

joinMethod · 0.80
loadMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected