2019-10-30 22:24:04 +01:00
|
|
|
diff --git a/src/sage/tests/cmdline.py b/src/sage/tests/cmdline.py
|
2020-10-22 10:20:17 +02:00
|
|
|
index 6e034dcb5a..8ec60ec72b 100644
|
2019-10-30 22:24:04 +01:00
|
|
|
--- a/src/sage/tests/cmdline.py
|
|
|
|
+++ b/src/sage/tests/cmdline.py
|
2020-10-22 10:20:17 +02:00
|
|
|
@@ -660,8 +660,8 @@ def test_executable(args, input="", timeout=100.0, pydebug_ignore_warnings=False
|
|
|
|
sage: with open(input, 'w') as F:
|
|
|
|
....: _ = F.write(s)
|
|
|
|
sage: L = ["sage", "--rst2ipynb", input, output]
|
|
|
|
- sage: test_executable(L) # optional - rst2ipynb
|
|
|
|
- ('', '', 0)
|
|
|
|
+ sage: test_executable(L)[2] # optional - rst2ipynb
|
|
|
|
+ 0
|
|
|
|
sage: import json # optional - rst2ipynb
|
|
|
|
sage: d = json.load(open(output,'r')) # optional - rst2ipynb
|
|
|
|
sage: type(d) # optional - rst2ipynb
|
|
|
|
@@ -757,8 +757,6 @@ def test_executable(args, input="", timeout=100.0, pydebug_ignore_warnings=False
|
2019-11-02 15:15:17 +01:00
|
|
|
///
|
|
|
|
4
|
|
|
|
}}}
|
2020-10-22 10:20:17 +02:00
|
|
|
- sage: err # py2 # optional -- sagenb
|
2019-11-02 15:15:17 +01:00
|
|
|
- ''
|
2020-10-22 10:20:17 +02:00
|
|
|
sage: ret # py2 # optional -- sagenb
|
2019-11-02 15:15:17 +01:00
|
|
|
0
|
|
|
|
|