Update to sagemath 7.3

This commit is contained in:
pcpa 2016-08-20 13:51:55 -04:00
parent a3d306800c
commit 0fdebf23cf
35 changed files with 3245 additions and 874 deletions

View file

@ -1,27 +1,35 @@
diff -up src/sage/interfaces/qepcad.py.orig src/sage/interfaces/qepcad.py
--- src/sage/interfaces/qepcad.py.orig 2015-07-19 15:07:33.423329719 -0300
+++ src/sage/interfaces/qepcad.py 2015-07-19 15:07:50.294330365 -0300
@@ -522,8 +522,8 @@ TESTS:
--- src/sage/interfaces/qepcad.py.orig 2016-08-08 13:58:03.953585989 -0400
+++ src/sage/interfaces/qepcad.py 2016-08-08 14:00:58.323592666 -0400
@@ -530,8 +530,8 @@ TESTS:
Check the qepcad configuration file::
- sage: open('%s/default.qepcadrc'%SAGE_LOCAL).readlines()[-1]
- 'SINGULAR .../local/bin\n'
- 'SINGULAR .../bin\n'
+ sage: open('/usr/share/qepcad/default.qepcadrc').readlines()[-1]
+ 'SINGULAR /usr/bin\n'
AUTHORS:
Tests related to the not tested examples (nondeterministic order of atoms)::
@@ -550,6 +550,8 @@ from sage.repl.preparse import implicit_
@@ -606,7 +606,6 @@ AUTHORS:
from __future__ import print_function
from __future__ import absolute_import
from expect import Expect, ExpectFunction, AsciiArtString
-from sage.env import SAGE_LOCAL
import pexpect
import re
import sys
@@ -618,6 +617,8 @@ from sage.interfaces.tab_completion impo
from .expect import Expect, ExpectFunction, AsciiArtString
+QEPCAD_LOCAL = "/usr/share/qepcad"
+
def _qepcad_cmd(memcells=None):
def _qepcad_atoms(formula):
r"""
Construct a QEPCAD command line.
@@ -560,17 +562,17 @@ def _qepcad_cmd(memcells=None):
Return the atoms of a qepcad quantifier-free formula, as a set of strings.
@@ -647,17 +648,17 @@ def _qepcad_cmd(memcells=None):
sage: from sage.interfaces.qepcad import _qepcad_cmd
sage: s = _qepcad_cmd()
@ -42,7 +50,7 @@ diff -up src/sage/interfaces/qepcad.py.orig src/sage/interfaces/qepcad.py
_command_info_cache = None
@@ -595,7 +597,7 @@ def _update_command_info():
@@ -682,7 +683,7 @@ def _update_command_info():
cache = {}