MCPcopy Index your code
hub / github.com/pytest-dev/pytest / test_simple_read

Method test_simple_read

testing/_py/test_local.py:235–238  ·  view source on GitHub ↗
(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("samplefile").read("r")
238 assert x == "samplefile\n"
239
240 def test_join_div_operator(self, path1):
241 newpath = path1 / "/sampledir" / "/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