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