summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_support.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_support.py')
-rw-r--r--Lib/test/test_support.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index 4756def..e06f7b8 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -500,6 +500,11 @@ class TestSupport(unittest.TestCase):
self.assertTrue(support.match_test(test_access))
self.assertTrue(support.match_test(test_chdir))
+ # match all using None
+ support.set_match_tests(None)
+ self.assertTrue(support.match_test(test_access))
+ self.assertTrue(support.match_test(test_chdir))
+
# match the full test identifier
support.set_match_tests([test_access.id()])
self.assertTrue(support.match_test(test_access))