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

Method test_listdir

testing/_py/test_local.py:1535–1541  ·  testing/_py/test_local.py::TestUnicode.test_listdir
(self, tmpdir)

Source from the content-addressed store, hash-verified

1533 assert x.join(part) == y
1534
1535 def test_listdir(self, tmpdir):
1536 if class="st">"LANG" not in os.environ:
1537 pytest.skip(class="st">"cannot run test without locale")
1538 x = local(tmpdir.strpath)
1539 part = class="st">"hällo"
1540 y = x.ensure(part)
1541 assert x.listdir(part)[0] == y
1542
1543 @pytest.mark.xfail(reason=class="st">"changing read/write might break existing usages")
1544 def test_read_write(self, tmpdir):

Callers

nothing calls this directly

Calls 2

ensureMethod · 0.80
listdirMethod · 0.80

Tested by

no test coverage detected