sagemath / sage-patchbot

Sage Patchbot
https://www.sagemath.org
Other
8 stars 17 forks source link

failure in sage/tests/cmdline.py due to location of python executable #28

Open nilesjohnson opened 10 years ago

nilesjohnson commented 10 years ago

I've noticed this failure on a number of patchbot runs -- see e.g.

http://patchbot.sagemath.org/ticket/14364/

I don't know if it should be regarded as a patchbot bug, a sage bug, or desirable behavior:

File "/home/pbruin/src/sage-patchbot/sage/src/sage/tests/cmdline.py", line 540, in sage.tests.cmdline.test_executable
Failed example:
    open(os.path.join(SAGE_LOCAL, "bin", "ipython")).readline()
Expected:
    '#!/usr/bin/env python\n'
Got:
    '#!/tmp/tmpYWE8as-sage-git-temp-14364/local/bin/python\n'
**********************************************************************
1 item had failures:
   1 of 210 in sage.tests.cmdline.test_executable
    [209 tests, 1 failure, 38.63 s]
----------------------------------------------------------------------
sage -t --long /home/pbruin/src/sage-patchbot/sage/src/sage/tests/cmdline.py  # 1 doctest failed
----------------------------------------------------------------------
rwst commented 10 years ago

patchbot, if it is right in changing the path, should then ignore related doctest errors, IMO.