mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-31324: Fix test.support.set_match_tests(None) (#4505)
This commit is contained in:
parent
803ddd8ce2
commit
bb11c3c967
2 changed files with 7 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue