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 272582b commit 4c140c1Copy full SHA for 4c140c1
src/bin/sage
@@ -1001,6 +1001,7 @@ if [ "$1" = '-tox' -o "$1" = '--tox' ]; then
1001
exec tox -c "$SAGE_SRC" "$@"
1002
else
1003
echo "Run 'sage -i tox' to install"
1004
+ exit 1
1005
fi
1006
1007
echo >&2 "error: Sage source directory or tox.ini not available"
@@ -1022,6 +1023,7 @@ if [ "$1" = '-pytest' -o "$1" = '--pytest' ]; then
1022
1023
exec pytest --rootdir="$SAGE_SRC" --doctest-modules "$@" "$SAGE_SRC"
1024
1025
echo "Run 'sage -i pytest' to install"
1026
1027
1028
1029
0 commit comments