(self)
| 847 | assert b.fnmatch(pattern) |
| 848 | |
| 849 | def test_sysfind(self): |
| 850 | name = (sys.platform == class="st">"win32" and class="st">"cmd") or class="st">"test" |
| 851 | x = local.sysfind(name) |
| 852 | assert x.check(file=1) |
| 853 | assert local.sysfind(class="st">"jaksdkasldqwe") is None |
| 854 | assert local.sysfind(name, paths=[]) is None |
| 855 | x2 = local.sysfind(name, paths=[x.dirpath()]) |
| 856 | assert x2 == x |
| 857 | |
| 858 | def test_fspath_protocol_other_class(self, fake_fspath_obj): |
| 859 | class="cm"># py.path is always absolute |