Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/bin/sage-runtests: Use pytest --import-mode importlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Feb 1, 2021
1 parent 7935ecf commit cc31289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/sage-runtests
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ if __name__ == "__main__":
try:
exit_code_pytest = 0
import pytest
pytest_options = []
pytest_options = ["--import-mode", "importlib"]
if options.verbose:
pytest_options.append("-v")
exit_code_pytest = pytest.main(pytest_options + args)
Expand Down

0 comments on commit cc31289

Please sign in to comment.