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

Method test_readlines

testing/_py/test_local.py:277–281  ·  testing/_py/test_local.py::CommonFSTests.test_readlines
(self, path1)

Source from the content-addressed store, hash-verified

275 assert newext.purebasename == class="st">"samplefile"
276
277 def test_readlines(self, path1):
278 fn = path1.join(class="st">"samplefile")
279 with ignore_encoding_warning():
280 contents = fn.readlines()
281 assert contents == [class="st">"samplefile\n"]
282
283 def test_readlines_nocr(self, path1):
284 fn = path1.join(class="st">"samplefile")

Callers

nothing calls this directly

Calls 3

ignore_encoding_warningFunction · 0.85
joinMethod · 0.80
readlinesMethod · 0.45

Tested by

no test coverage detected