#19783: fix test failures in sandpiles
--------------------------------------+------------------------
       Reporter:  dimpase             |        Owner:
           Type:  defect              |       Status:  new
       Priority:  major               |    Milestone:  sage-7.0
      Component:  packages: optional  |   Resolution:
       Keywords:                      |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------
Changes (by dimpase):

 * cc: dperkinson (added)


Comment:

 {{{
 $ sage -tp src/sage/sandpiles/sandpile.py
 Running doctests with ID 2015-12-25-18-15-20-5384a452.
 Git branch: HEAD
 Using --optional=4ti2,database_gap,gap_packages,mpir,python2,sage
 Doctesting 1 file using 4 threads.
 sage -t --warn-long 41.5 src/sage/sandpiles/sandpile.py
 **********************************************************************
 File "src/sage/sandpiles/sandpile.py", line 5171, in
 sage.sandpiles.sandpile.SandpileDivisor._set_linear_system
 Failed example:
     D._set_linear_system() # optional - 4ti2
 Expected nothing
 Got:
     Input error: Parse error while reading vector; could be overflow
     <BLANKLINE>
                      **********************************
                      *** This method requires 4ti2. ***
                      **********************************
     <BLANKLINE>
 **********************************************************************
 File "src/sage/sandpiles/sandpile.py", line 5274, in
 sage.sandpiles.sandpile.SandpileDivisor.linear_system
 Failed example:
     D.linear_system() # optional - 4ti2
 Exception raised:
     Traceback (most recent call last):
       File "/home/dima/software/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 496, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/home/dima/software/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 858, in compile_and_execute
         exec(compiled, globs)
       File "<doctest
 sage.sandpiles.sandpile.SandpileDivisor.linear_system[2]>", line 1, in
 <module>
         D.linear_system() # optional - 4ti2
       File "/home/dima/software/sage/local/lib/python2.7/site-
 packages/sage/sandpiles/sandpile.py", line 5291, in linear_system
         return self._linear_system
       File "/home/dima/software/sage/local/lib/python2.7/site-
 packages/sage/sandpiles/sandpile.py", line 4440, in __getattr__
         return self.__dict__[name]
     KeyError: '_linear_system'
 **********************************************************************
 File "src/sage/sandpiles/sandpile.py", line 5683, in
 sage.sandpiles.sandpile.SandpileDivisor.r_of_D
 Failed example:
     E = D.r_of_D(True) # optional - 4ti2
 Expected nothing
 Got:
     doctest:1: DeprecationWarning: D.r_of_D() will be removed soon.
 Please use ``D.rank()`` instead.
     See http://trac.sagemath.org/18618 for details.
 **********************************************************************
 3 items had failures:
    1 of   4 in sage.sandpiles.sandpile.SandpileDivisor._set_linear_system
    1 of   4 in sage.sandpiles.sandpile.SandpileDivisor.linear_system
    1 of   9 in sage.sandpiles.sandpile.SandpileDivisor.r_of_D
     [971 tests, 3 failures, 16.82 s]
 ----------------------------------------------------------------------
 sage -t --warn-long 41.5 src/sage/sandpiles/sandpile.py  # 3 doctests
 failed
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19783#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to