Home
last modified time | relevance | path

Searched refs:fnmatchcase (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Lib/test/
Dtest_fnmatch.py7 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/
Dfnmatch.py42 return fnmatchcase(name, pat)
70 def fnmatchcase(name, pat): function
Dpathlib.py911 if not fnmatch.fnmatchcase(part, pat):
/third_party/python/Doc/library/
Dfnmatch.rst54 using :func:`os.path.normcase`. :func:`fnmatchcase` can be used to perform a
69 .. function:: fnmatchcase(filename, pattern)
Dunittest.rst229 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/
Dloader.py11 from fnmatch import fnmatch, fnmatchcase
236 any(fnmatchcase(fullName, pattern) for pattern in self.testNamePatterns)