Skip to content

Commit f1c7f28

Browse files
committed
fnmatch: Don't require test.support, which no longer exists.
Signed-off-by: Damien George <damien@micropython.org>
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

Lines changed: 0 additions & 9 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy