summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fnmatch.py
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-30415: Add new tests for the fnmatch module. (GH-1684). (#1696)Serhiy Storchaka2017-05-211-11/+104
| | | (cherry picked from commit 817554715b5578b0bac5c35e6ec9a1abd8649e53)
* Merged revisions 82766 via svnmerge fromR. David Murray2010-07-101-0/+5
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k Since 'purge' is an API change, modified it to be _purge for 2.x and deleted the doc update. ........ r82766 | r.david.murray | 2010-07-10 09:52:13 -0400 (Sat, 10 Jul 2010) | 5 lines Fix 'refleak' introduced by fnmatch cache purge tests. This introduces a 'purge' function for the fnmatch module analogous to the 'purge' function in the re module. ........
* Merged revisions 82730 via svnmerge fromR. David Murray2010-07-091-1/+10
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k 'merge' in the sense that this is the same fix by the same author. ........ r82730 | r.david.murray | 2010-07-09 08:23:21 -0400 (Fri, 09 Jul 2010) | 4 lines 7846: limit fnmatch pattern cache to _MAXCACHE=100 entries. Patch by Andrew Clegg. ........
* Fix test_fnmatch.Georg Brandl2010-02-081-5/+5
|
* Add a minimal test for fnmatchcase().Georg Brandl2010-02-071-0/+5
|
* Issue 6665: Fix fnmatch to properly match filenames with newlines in them.Gregory P. Smith2009-08-161-1/+8
|
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-2/+2
|
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake2001-09-201-1/+6
| | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
* Remove unused import.Fred Drake2001-05-221-1/+0
|
* Add test cases for the fnmatch module.Fred Drake2001-03-211-0/+42