kopia lustrzana https://github.com/micropython/micropython-lib
fnmatch: Don't require test.support, which no longer exists.
Signed-off-by: Damien George <damien@micropython.org>pull/883/head
rodzic
0d4b3635b4
commit
f1c7f2885d
|
@ -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()
|
||||
|
|
Ładowanie…
Reference in New Issue