#17818: Interface to FindStat
-------------------------------------+-------------------------------------
       Reporter:  mantepse           |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.6
      Component:  interfaces         |   Resolution:
       Keywords:  FindStat           |    Merged in:
        Authors:  Martin Rubey       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:  public/findstat-   |       Commit:
  interface                          |  5b39d53191356f852771b256fd1d609c2cc0429e
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by mantepse):

 I'm still having the problem that I cannot run the doctests at all.  As I
 mentioned on sage-devel, I get, for example:
 {{{
 martin@Martin-Laptop:~/sage$ ./sage -t --optional=internet
 src/sage/databases/findstat.py
 too few successful tests, not using stored timings
 Running doctests with ID 2015-03-30-10-41-21-fba377bd.
 Git branch: public/findstat-interface
 Doctesting 1 file.
 sage -t src/sage/databases/findstat.py
 **********************************************************************
 File "src/sage/databases/findstat.py", line 1152, in
 sage.databases.findstat.FindStatCollection.__init__
 Failed example:
     FindStatCollection("Dyck paths")                 # optional --
 internet
 Exception raised:
     Traceback (most recent call last):
       File "/home/martin/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 488, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/home/martin/sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 850, in compile_and_execute
         exec(compiled, globs)
       File "<doctest
 sage.databases.findstat.FindStatCollection.__init__[0]>", line 1, in
 <module>
         FindStatCollection("Dyck paths")                 # optional --
 internet
     NameError: name 'FindStatCollection' is not defined

 }}}

 How can I fix this?  ``FindStatCollection`` is imported in the preceding
 line of the docstring!

--
Ticket URL: <http://trac.sagemath.org/ticket/17818#comment:40>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to