We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cca9a5 commit b7decf7Copy full SHA for b7decf7
testsuite/support.py
@@ -169,7 +169,7 @@ def init_tests(pep8style):
169
def run_tests(filename):
170
"""Run all the tests from a file."""
171
# Skip tests meant for higher versions of python
172
- ver_match = re.search(r'python(\d)(\d)?\.py$', filename)
+ ver_match = re.search(r'python(\d)(\d+)?\.py$', filename)
173
if ver_match:
174
test_against_version = tuple(int(val or 0)
175
for val in ver_match.groups())
0 commit comments