[Python-checkins] r78079 - python/trunk/Lib/test/test_fnmatch.py
georg.brandl
python-checkins at python.org
Sun Feb 7 13:34:26 CET 2010
Author: georg.brandl
Date: Sun Feb 7 13:34:26 2010
New Revision: 78079
Log:
Add a minimal test for fnmatchcase().
Modified:
python/trunk/Lib/test/test_fnmatch.py
Modified: python/trunk/Lib/test/test_fnmatch.py
==============================================================================
--- python/trunk/Lib/test/test_fnmatch.py (original)
+++ python/trunk/Lib/test/test_fnmatch.py Sun Feb 7 13:34:26 2010
@@ -44,6 +44,11 @@
check('\nfoo', 'foo*', False)
check('\n', '*')
+ def test_fnmatchcase(self):
+ check = self.check_match
+ check('AbC', 'abc', 0)
+ check('abc', 'AbC', 0)
+
def test_main():
test_support.run_unittest(FnmatchTestCase)
More information about the Python-checkins
mailing list