Changes between Version 4 and Version 5 of Ticket #9827


Ignore:
Timestamp:
Apr 5, 2013, 1:16:06 PM (10 years ago)
Author:
Jeroen Demeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9827 – Description

    v4 v5  
    1 Reported by Justin C. Walker on [http://groups.google.com/group/sage-release/browse_thread/thread/b2827cba9319bfed/4327cb6c3f565890#4327cb6c3f565890 sage-release] (scroll down the thread for replies):
    2 {{{
    3 Upgraded from 4.5.3.a1, w/o problems.  Ran 'ptestlong', and one test failed.  Failure noted below.  I reran the test by hand and it passed.  Mac OS X, 10.5.8, Dual Quad Xeon.
    4 }}}
    5 
     1This happens sometimes:
    62{{{
    73#!python
    8 sage -t  -long devel/sage/sage/interfaces/psage.py
     4sage -t --long devel/sage/sage/interfaces/psage.py
    95**********************************************************************
    10 File "/Users/Sage/sage-4.5.3.alpha1/devel/sage-main/sage/interfaces/psage.py", line 35:
    11      sage: print "ignore this";  w       # random output
     6File "devel/sage/sage/interfaces/psage.py", line 37, in sage.interfaces.psage
     7Failed example:
     8    w       # long time, random output
    129Exception raised:
    13      Traceback (most recent call last):
    14        File "/Users/Sage/sage-4.5.3.alpha1/local/bin/ncadoctest.py", line 1231, in run_one_test
    15          self.run_one_example(test, example, filename, compileflags)
    16        File "/Users/Sage/sage-4.5.3.alpha1/local/bin/sagedoctest.py", line 38, in run_one_example
    17          OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags)
    18        File "/Users/Sage/sage-4.5.3.alpha1/local/bin/ncadoctest.py", line 1172, in run_one_example
    19          compileflags, 1) in test.globs
    20        File "<doctest __main__.example_0[5]>", line 1, in <module>
    21          print "ignore this";  w       # random output###line 35:
    22      sage: print "ignore this";  w       # random output
    23        File "/Users/Sage/sage-4.5.3.alpha1/local/lib/python/site-packages/sage/misc/displayhook.py", line 174, in displayhook
    24          print_obj(sys.stdout, obj)
    25        File "/Users/Sage/sage-4.5.3.alpha1/local/lib/python/site-packages/sage/misc/displayhook.py", line 142, in print_obj
    26          print >>out_stream, `obj`
    27        File "/Users/Sage/sage-4.5.3.alpha1/local/lib/python/site-packages/sage/interfaces/expect.py", line 1670, in __repr__
    28          s =  s.replace(self._name, self.__dict__['__custom_name'])
    29      KeyError: '__custom_name'
     10    Traceback (most recent call last):
     11      File "/release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.9.beta4/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 466, in _run
     12        self.execute(example, compiled, test.globs)
     13      File "/release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.9.beta4/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 825, in execute
     14        exec compiled in globs
     15      File "<doctest sage.interfaces.psage[3]>", line 1, in <module>
     16        w       # long time, random output
     17      File "/release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.9.beta4/local/lib/python2.7/site-packages/sage/misc/displayhook.py", line 201, in __call__
     18        self.oldhook(obj)
     19      File "/release/buildbot/sage/sage-1/sage_upgrade_4.8/build/sage-5.9.beta4/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 880, in __repr__
     20        s =  s.replace(self._name, self.__dict__['__custom_name'])
     21    KeyError: '__custom_name'
     22**********************************************************************
    3023}}}
    3124