From: Georg Brandl Date: Sun, 7 Feb 2010 12:34:26 +0000 (+0000) Subject: Add a minimal test for fnmatchcase(). X-Git-Tag: v2.7a4~234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=308e18b595a26be08d52987336ea321b05f17860;p=python Add a minimal test for fnmatchcase(). --- diff --git a/Lib/test/test_fnmatch.py b/Lib/test/test_fnmatch.py index fbcbe70b82..aba76ba3d2 100644 --- a/Lib/test/test_fnmatch.py +++ b/Lib/test/test_fnmatch.py @@ -44,6 +44,11 @@ class FnmatchTestCase(unittest.TestCase): 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)