Searched refs:fnmatchcase (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_fnmatch.py | 8 from fnmatch import fnmatch, fnmatchcase, translate, filter namespace 59 self.assertRaises(TypeError, fnmatchcase, 'test', b'*') 60 self.assertRaises(TypeError, fnmatchcase, b'test', '*') 64 check('abc', 'abc', True, fnmatchcase) 65 check('AbC', 'abc', False, fnmatchcase) 66 check('abc', 'AbC', False, fnmatchcase) 67 check('AbC', 'AbC', True, fnmatchcase) 69 check('usr/bin', 'usr/bin', True, fnmatchcase) 70 check('usr\\bin', 'usr/bin', False, fnmatchcase) 71 check('usr/bin', 'usr\\bin', False, fnmatchcase) [all...] |
/third_party/python/Lib/ |
H A D | fnmatch.py | 4 fnmatchcase(FILENAME, PATTERN) always takes case in account. 17 __all__ = ["filter", "fnmatch", "fnmatchcase", "translate"] 32 If you don't want this, use fnmatchcase(FILENAME, PATTERN). 36 return fnmatchcase(name, pat) 64 def fnmatchcase(name, pat): function
|
H A D | pathlib.py | 825 if not fnmatch.fnmatchcase(part, pat):
|
/third_party/python/Lib/unittest/ |
H A D | loader.py | 11 from fnmatch import fnmatch, fnmatchcase namespace 236 any(fnmatchcase(fullName, pattern) for pattern in self.testNamePatterns)
|
Completed in 4 milliseconds