Skip to content

Commit 83cf3cc

Browse files
Matthias KoeppeZerline
Matthias Koeppe
authored and
Zerline
committed
setup.py: Use sage -t --optional=sage to avoid errors with sage from conda
1 parent f80a69d commit 83cf3cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ def readfile(filename):
2828
class SageTest(TestCommand):
2929
def run_tests(self):
3030
import os, sys
31-
errno = os.system("sage -t --force-lib sage_widget_adapters")
31+
errno = os.system("sage -t --force-lib --optional=sage sage_widget_adapters")
3232
if errno != 0:
3333
sys.exit(1)
34-
errno = os.system("sage -t --force-lib sage_combinat_widgets")
34+
errno = os.system("sage -t --force-lib --optional=sage sage_combinat_widgets")
3535
if errno != 0:
3636
sys.exit(1)
3737

0 commit comments

Comments
 (0)