From cc31289631e549030df64eb14f6fdc8235890b78 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 31 Jan 2021 18:58:23 -0800 Subject: [PATCH] src/bin/sage-runtests: Use pytest --import-mode importlib --- src/bin/sage-runtests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/sage-runtests b/src/bin/sage-runtests index e6d28ffd372..d593123101e 100755 --- a/src/bin/sage-runtests +++ b/src/bin/sage-runtests @@ -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)