(self, path1)
| 655 | assert old == local() |
| 656 | |
| 657 | def test_initialize_reldir(self, path1): |
| 658 | with path1.as_cwd(): |
| 659 | p = local("samplefile") |
| 660 | assert p.check() |
| 661 | |
| 662 | def test_tilde_expansion(self, monkeypatch, tmpdir): |
| 663 | monkeypatch.setenv("HOME", str(tmpdir)) |