Skip to content

Commit a8a3d6e

Browse files
author
Matthias Koeppe
committed
src/sage/tests/startup.py: Hide a legitimate .all import from relint
1 parent 39b7ca4 commit a8a3d6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sage/tests/startup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
not work. Instead, we test this by starting a new Python process::
77
88
sage: from sage.tests.cmdline import test_executable
9-
sage: cmd = "from sage.all import *\nprint('IPython' in sys.modules)\n"
9+
sage: environment = "sage.all"
10+
sage: cmd = f"from {environment} import *\nprint('IPython' in sys.modules)\n"
1011
sage: print(test_executable(["sage", "--python"], cmd)[0]) # long time
1112
False
1213

0 commit comments

Comments
 (0)