[sagemath] 01/02: Remove trivial doctest fixes that are not needed anymore.

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 28 00:44:00 UTC 2017


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

thansen pushed a commit to branch master
in repository sagemath.

commit 727d4c2e21889e63f32402b899b9e40f5684f009
Author: Tobias Hansen <thansen at debian.org>
Date:   Tue Mar 28 00:34:29 2017 +0000

    Remove trivial doctest fixes that are not needed anymore.
---
 debian/patches/u2-fix-trivial-test-cases.patch | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/debian/patches/u2-fix-trivial-test-cases.patch b/debian/patches/u2-fix-trivial-test-cases.patch
index a29ed27..0e42c58 100644
--- a/debian/patches/u2-fix-trivial-test-cases.patch
+++ b/debian/patches/u2-fix-trivial-test-cases.patch
@@ -17,17 +17,6 @@ Author: Ximin Luo <infinity0 at debian.org>
 Forwarded: TODO
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/sage/src/sage/interfaces/maxima_abstract.py
-+++ b/sage/src/sage/interfaces/maxima_abstract.py
-@@ -1519,7 +1519,7 @@
-         EXAMPLES::
- 
-             sage: maxima('exp(-sqrt(x))').nintegral('x',0,1)
--            (0.5284822353142306, 0.41633141378838...e-10, 231, 0)
-+            (0.5284822353142306, 4.163314137883845e-11, 231, 0)
- 
-         Note that GP also does numerical integration, and can do so to very
-         high precision very quickly::
 --- a/sage/src/sage/calculus/calculus.py
 +++ b/sage/src/sage/calculus/calculus.py
 @@ -770,7 +770,7 @@
@@ -79,20 +68,6 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
              ...
              ZeroDivisionError: rational division by zero
              sage: rc is None
---- a/sage/src/sage/interfaces/interface.py
-+++ b/sage/src/sage/interfaces/interface.py
-@@ -523,9 +523,9 @@
-         EXAMPLES::
- 
-             sage: maxima.quad_qags(x, x, 0, 1, epsrel=1e-4)
--            [0.5,0.55511151231257...e-14,21,0]
-+            [0.5,5.5511151231257...e-15,21,0]
-             sage: maxima.function_call('quad_qags', [x, x, 0, 1], {'epsrel':'1e-4'})
--            [0.5,0.55511151231257...e-14,21,0]
-+            [0.5,5.5511151231257...e-15,21,0]
-         """
-         args, kwds = self._convert_args_kwds(args, kwds)
-         self._check_valid_function_name(function)
 --- a/sage/src/sage/misc/cython.py
 +++ b/sage/src/sage/misc/cython.py
 @@ -173,14 +173,15 @@

-- 
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