Skip to content

Commit d8d4156

Browse files
author
Release Manager
committed
gh-39997: Run python3 directly instead of `sage -python` in sage/tests/startup.py `sage -python` is no longer available in the meson build URL: #39997 Reported by: Antonio Rojas Reviewer(s): Antonio Rojas, Tobias Diez
2 parents 671ebba + 5ec8047 commit d8d4156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/tests/startup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
sage: from sage.tests.cmdline import test_executable
99
sage: environment = "sage.all"
1010
sage: cmd = f"from {environment} import *\nprint('IPython' in sys.modules)\n"
11-
sage: print(test_executable(["sage", "--python"], cmd)[0]) # long time
11+
sage: print(test_executable(["python3"], cmd)[0]) # long time
1212
False
1313
1414
Check that numpy (:issue:`11714`) and pyparsing are not imported on startup

0 commit comments

Comments
 (0)