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 543f8d6 commit 5a42152Copy full SHA for 5a42152
src/bin/sage-runtests
@@ -177,7 +177,7 @@ if __name__ == "__main__":
177
# we do not silently hide typos.
178
filenames = [f for f in args.filenames
179
if f.endswith("_test.py") or not os.path.isfile(f)]
180
- if filenames or not args.filenames:
+ if filenames:
181
print(f"Running pytest on {filenames} with options {pytest_options}")
182
exit_code_pytest = pytest.main(filenames + pytest_options)
183
if exit_code_pytest == 5:
0 commit comments