fnmatch: Don't require test.support, which no longer exists.

Signed-off-by: Damien George <damien@micropython.org>
pull/883/head
Damien George 2024-06-16 10:42:30 +10:00
rodzic 0d4b3635b4
commit f1c7f2885d
1 zmienionych plików z 0 dodań i 9 usunięć

Wyświetl plik

@ -1,6 +1,5 @@
"""Test cases for the fnmatch module."""
from test import support
import unittest
from fnmatch import fnmatch, fnmatchcase, translate, filter
@ -79,11 +78,3 @@ class TranslateTestCase(unittest.TestCase):
class FilterTestCase(unittest.TestCase):
def test_filter(self):
self.assertEqual(filter(["a", "b"], "a"), ["a"])
def main():
support.run_unittest(FnmatchTestCase, TranslateTestCase, FilterTestCase)
if __name__ == "__main__":
main()