![Timo Kaufmann](/assets/img/avatar_default.png)
cmp is deprecated since attrs 19.2.0: http://www.attrs.org/en/19.2.0/changelog.html The deprecation warning breaks the doctests. Fortunately they have a rather long deprecation window, so we can just wait until upstream(s) fix this.
14 lines
613 B
Diff
14 lines
613 B
Diff
diff --git a/src/sage/tests/cmdline.py b/src/sage/tests/cmdline.py
|
|
index bd6b76ab82..f8340a8c66 100644
|
|
--- a/src/sage/tests/cmdline.py
|
|
+++ b/src/sage/tests/cmdline.py
|
|
@@ -872,7 +872,7 @@ def test_executable(args, input="", timeout=100.0, **kwds):
|
|
sage: with open(input, 'w') as F:
|
|
....: _ = F.write(s)
|
|
sage: test_executable(["sage", "--rst2sws", input, output]) # py2
|
|
- ('', '', 0)
|
|
+ ('', '...', 0)
|
|
sage: import tarfile # py2
|
|
sage: f = tarfile.open(output, 'r') # py2
|
|
sage: print(f.extractfile('sage_worksheet/worksheet.html').read()) # py2
|