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 2607c38 commit 5c40e7bCopy full SHA for 5c40e7b
test/functional/test_runner.py
@@ -272,7 +272,7 @@ def main():
272
if tests:
273
# Individual tests have been specified. Run specified tests that exist
274
# in the ALL_SCRIPTS list. Accept the name with or without .py extension.
275
- tests = [re.sub("\.py$", "", test) + ".py" for test in tests]
+ tests = [test + ".py" if ".py" not in test else test for test in tests]
276
for test in tests:
277
if test in ALL_SCRIPTS:
278
test_list.append(test)
0 commit comments