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

Method test_simple_read

testing/_py/test_local.py:235–238  ·  testing/_py/test_local.py::CommonFSTests.test_simple_read
(self, path1)

Source from the content-addressed store, hash-verified

233 assert not (path1 < path1)
234
235 def test_simple_read(self, path1):
236 with ignore_encoding_warning():
237 x = path1.join(class="st">"samplefile").read(class="st">"r")
238 assert x == class="st">"samplefile\n"
239
240 def test_join_div_operator(self, path1):
241 newpath = path1 / class="st">"/sampledir" / class="st">"/test//"

Callers

nothing calls this directly

Calls 3

ignore_encoding_warningFunction · 0.85
joinMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected