Searched refs:fnmatchcase (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Lib/test/ |
D | test_fnmatch.py | 7 from fnmatch import fnmatch, fnmatchcase, translate, filter 58 self.assertRaises(TypeError, fnmatchcase, 'test', b'*') 59 self.assertRaises(TypeError, fnmatchcase, b'test', '*') 63 check('abc', 'abc', True, fnmatchcase) 64 check('AbC', 'abc', False, fnmatchcase) 65 check('abc', 'AbC', False, fnmatchcase) 66 check('AbC', 'AbC', True, fnmatchcase) 68 check('usr/bin', 'usr/bin', True, fnmatchcase) 69 check('usr\\bin', 'usr/bin', False, fnmatchcase) 70 check('usr/bin', 'usr\\bin', False, fnmatchcase) [all …]
|
/third_party/python/Lib/ |
D | fnmatch.py | 42 return fnmatchcase(name, pat) 70 def fnmatchcase(name, pat): function
|
D | pathlib.py | 911 if not fnmatch.fnmatchcase(part, pat):
|
/third_party/python/Doc/library/ |
D | fnmatch.rst | 54 using :func:`os.path.normcase`. :func:`fnmatchcase` can be used to perform a 69 .. function:: fnmatchcase(filename, pattern)
|
D | unittest.rst | 229 test name using :meth:`fnmatch.fnmatchcase`; otherwise simple case-sensitive 1927 Note that matches are always performed using :meth:`fnmatch.fnmatchcase`,
|
/third_party/python/Lib/unittest/ |
D | loader.py | 11 from fnmatch import fnmatch, fnmatchcase 236 any(fnmatchcase(fullName, pattern) for pattern in self.testNamePatterns)
|