Skip to content

Commit f1c7f28

Browse files
committed
fnmatch: Don't require test.support, which no longer exists.
Signed-off-by: Damien George <[email protected]>
1 parent 0d4b363 commit f1c7f28

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

python-stdlib/fnmatch/test_fnmatch.py

-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Test cases for the fnmatch module."""
22

3-
from test import support
43
import unittest
54

65
from fnmatch import fnmatch, fnmatchcase, translate, filter
@@ -79,11 +78,3 @@ def test_translate(self):
7978
class FilterTestCase(unittest.TestCase):
8079
def test_filter(self):
8180
self.assertEqual(filter(["a", "b"], "a"), ["a"])
82-
83-
84-
def main():
85-
support.run_unittest(FnmatchTestCase, TranslateTestCase, FilterTestCase)
86-
87-
88-
if __name__ == "__main__":
89-
main()

0 commit comments

Comments
 (0)