]> granicus.if.org Git - python/commitdiff
Lib/test/support: fix typo in docstring (GH-8506)
authorDaniel Hahler <github@thequod.de>
Tue, 11 Sep 2018 01:04:33 +0000 (03:04 +0200)
committerGregory P. Smith <greg@krypto.org>
Tue, 11 Sep 2018 01:04:33 +0000 (18:04 -0700)
Lib/test/support/__init__.py

index 13b60f7e815399f84cc31dd137e85286a778b07e..de997b253a693f188aaa6a0d79c863caadf3bd8c 100644 (file)
@@ -1955,8 +1955,8 @@ def set_match_tests(patterns):
 
         def match_test_regex(test_id):
             if regex_match(test_id):
-                # The regex matchs the whole identifier like
-                # 'test.test_os.FileTests.test_access'
+                # The regex matches the whole identifier, for example
+                # 'test.test_os.FileTests.test_access'.
                 return True
             else:
                 # Try to match parts of the test identifier.