[sagemath] 01/01: Override 1 failing test, it expects an error that is fixed in Debian's ipython

Ximin Luo infinity0 at debian.org
Fri Oct 14 18:46:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository sagemath.

commit a8afe6be032b21b0f50112bb8f48e01473adba5e
Author: Ximin Luo <infinity0 at debian.org>
Date:   Fri Oct 14 20:46:01 2016 +0200

    Override 1 failing test, it expects an error that is fixed in Debian's ipython
---
 debian/README.Debian                               |  5 +----
 debian/patches/debian-fix-trivial-test-cases.patch | 12 ++++++++++++
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index 91f639b..927d5af 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -74,7 +74,7 @@ Now for the summary:
 
 ### Breakdown
 
-32+5 unreproducible for infinity0
+31+5 unreproducible for infinity0
 45 (estimated) for Tobias
 
 ### We have some sort of lead for further investigation
@@ -128,9 +128,6 @@ sage -t --long src/sage/symbolic/expression.pyx  # 1 doctest failed
 sage -t --long src/sage/crypto/block_cipher/miniaes.py  # 1 doctest failed
 sage -t --long src/sage/functions/log.py  # 2 doctests failed (1 accounted for above)
 
-1 Other extra for infinity0:
-sage -t --long src/sage/repl/interpreter.py  # 1 doctest failed
-
 9 Other extra for Tobias:
 sage -t --long src/doc/en/thematic_tutorials/tutorial-objects-and-classes.rst  # 2 doctests failed
 sage -t --long src/sage/doctest/forker.py  # 1 doctest failed
diff --git a/debian/patches/debian-fix-trivial-test-cases.patch b/debian/patches/debian-fix-trivial-test-cases.patch
index b3dd249..73863f7 100644
--- a/debian/patches/debian-fix-trivial-test-cases.patch
+++ b/debian/patches/debian-fix-trivial-test-cases.patch
@@ -90,6 +90,18 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
              ...
              ZeroDivisionError: rational division by zero
              sage: rc is None
+@@ -587,10 +587,7 @@
+         sage: shell = interface_shell_embed(gap)
+         sage: shell.run_cell('List( [1..10], IsPrime )')
+         [ false, true, true, false, true, false, true, false, false, false ]
+-        <repr(<IPython.core.interactiveshell.ExecutionResult at 0x...>) failed: 
+-        AttributeError: type object 'ExecutionResult' has no attribute '__qualname__'>
+-
+-    Note that the repr error is https://github.com/ipython/ipython/issues/9756
++        <ExecutionResult object at ... result=[ false, true, true, false, true, false, true, false, false, false ]>
+     """
+     cfg = sage_ipython_config.copy()
+     ipshell = InteractiveShellEmbed(config=cfg,
 --- a/sage/src/doc/en/thematic_tutorials/tutorial-objects-and-classes.rst
 +++ b/sage/src/doc/en/thematic_tutorials/tutorial-objects-and-classes.rst
 @@ -297,8 +297,8 @@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list