From b7decf78584d00412ce8a52da34a5d5133690b3d Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sun, 2 May 2021 21:42:56 +0200 Subject: Fix testsuite --- testsuite/support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/support.py') diff --git a/testsuite/support.py b/testsuite/support.py index 8241a92..eb8b443 100644 --- a/testsuite/support.py +++ b/testsuite/support.py @@ -169,7 +169,7 @@ def init_tests(pep8style): def run_tests(filename): """Run all the tests from a file.""" # Skip tests meant for higher versions of python - ver_match = re.search(r'python(\d)(\d)?\.py$', filename) + ver_match = re.search(r'python(\d)(\d+)?\.py$', filename) if ver_match: test_against_version = tuple(int(val or 0) for val in ver_match.groups()) -- cgit v1.2.1