(self, tmpdir)
| 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): |