Skip to content

Commit b7decf7

Browse files
committed
Fix testsuite
1 parent 4cca9a5 commit b7decf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testsuite/support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def init_tests(pep8style):
169169
def run_tests(filename):
170170
"""Run all the tests from a file."""
171171
# Skip tests meant for higher versions of python
172-
ver_match = re.search(r'python(\d)(\d)?\.py$', filename)
172+
ver_match = re.search(r'python(\d)(\d+)?\.py$', filename)
173173
if ver_match:
174174
test_against_version = tuple(int(val or 0)
175175
for val in ver_match.groups())

0 commit comments

Comments
 (0)