#10528: sage0.py doctest failures on sage.math
------------------------+---------------------------------------------------
   Reporter:  robertwb  |       Owner:  mvngu       
       Type:  defect    |      Status:  needs_review
   Priority:  major     |   Milestone:  sage-4.6.1  
  Component:  doctest   |    Keywords:              
     Author:            |    Upstream:  N/A         
   Reviewer:            |      Merged:              
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by robertwb):

 I am as mystified as you:

 {{{
 rober...@sage:/levi/scratch/robertwb/buildbot/sage-4.6$ ./sage -t devel
 /sage-main/sage/interfaces/sage0.py
 sage -t  "devel/sage-main/sage/interfaces/sage0.py"
 **********************************************************************
 File "/levi/scratch/robertwb/buildbot/sage-4.6/devel/sage-
 main/sage/interfaces/sage0.py", line 364:
     sage: sage0.get('x')
 Expected:
     "...NameError: name 'x' is not defined"
 Got:
 '------------------------------------------------------------\nTraceback
 (most recent call last):\n  File "<ipython console>", line 1, in
 <module>\nNameError: name \'x\' is not defined'
 **********************************************************************
 1 items had failures:
    1 of   6 in __main__.example_13
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /home/robertwb/.sage//tmp/.doctest_sage0.py
          [9.2 s]

 ----------------------------------------------------------------------
 The following tests failed:


         sage -t  "devel/sage-main/sage/interfaces/sage0.py"
 Total time for all tests: 9.2 seconds
 }}}

 I've also seen this on my OS X box from time to time.

 I view "something strange is up with the doctexting framework" as a
 different bug than "the sage0 doctests are flakey," and the latter has a
 fix now while the former is who knows how long out. I don't consider it
 covering the bug to re-factor the doctest to be less rigid but still test
 what's being tested for.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10528#comment:8>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to