(self, tmpdir)
| 841 | assert lst[0] == p1 |
| 842 | |
| 843 | def test_fnmatch_file_abspath(self, tmpdir): |
| 844 | b = tmpdir.join("a", "b") |
| 845 | assert b.fnmatch(os.sep.join("ab")) |
| 846 | pattern = os.sep.join([str(tmpdir), "*", "b"]) |
| 847 | assert b.fnmatch(pattern) |
| 848 | |
| 849 | def test_sysfind(self): |
| 850 | name = (sys.platform == "win32" and "cmd") or "test" |