about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/science/math/sage/patches/ignore-cmp-deprecation.patch
blob: a91ee319b8f0b4cb9565d1dab2c551ae174a9d92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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