commit | 308e18b595a26be08d52987336ea321b05f17860 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Feb 07 12:34:26 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Feb 07 12:34:26 2010 +0000 |
tree | 0b5291907a8ef0cc5abc3e8b2913af9fdb192f10 | |
parent | a34f87f98120bb470136f3be212c67d5ef981379 [diff] [blame] |
Add a minimal test for fnmatchcase().
diff --git a/Lib/test/test_fnmatch.py b/Lib/test/test_fnmatch.py index fbcbe70..aba76ba 100644 --- a/Lib/test/test_fnmatch.py +++ b/Lib/test/test_fnmatch.py
@@ -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)