mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:23:02 +00:00
25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
diff --git a/src/sage/tests/cmdline.py b/src/sage/tests/cmdline.py
|
|
index 6e034dcb5a..8ec60ec72b 100644
|
|
--- a/src/sage/tests/cmdline.py
|
|
+++ b/src/sage/tests/cmdline.py
|
|
@@ -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
|
|
///
|
|
4
|
|
}}}
|
|
- sage: err # py2 # optional -- sagenb
|
|
- ''
|
|
sage: ret # py2 # optional -- sagenb
|
|
0
|
|
|