Ticket #1942 (closed defect: duplicate)
Sage 2.10.1.rc0: sage0.cputime() broken on 32 bit FC7
| Reported by: | mabshoff | Owned by: | mabshoff |
|---|---|---|---|
| Priority: | critical | Milestone: | sage-duplicate/invalid/wontfix |
| Component: | packages | Keywords: | |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
Jaap reports the following on 32 bit FC7/8 with Sage 2.10.1.rc0:
[jaap@paix sage-2.10.1.rc0]$ ./sage -t devel/sage-main/sage/interfaces/sage0.py
sage -t devel/sage-main/sage/interfaces/sage0.py **********************************************************************
File "sage0.py", line 143:
sage: _= sage0.cputime() # random output
Exception raised:
Traceback (most recent call last):
File "/home/jaap/downloads/sage-2.10.1.rc0/local/lib/python2.5/doctest.py", line 1212, in __run
compileflags, 1) in test.globs
File "<doctest __main__.example_2[0]>", line 1, in <module>
_= sage0.cputime() # random output###line 143:
sage: _= sage0.cputime() # random output
File "/home/jaap/downloads/sage-2.10.1.rc0/local/lib/python2.5/site-packages/sage/interfaces/sage0.py", line 150, in cputime
return eval(self.eval('cputime(%s)'%t))
File "<string>", line 1
1.3517939999999999
^
SyntaxError: invalid syntax
**********************************************************************
File "sage0.py", line 147:
sage: _= sage0.cputime() # random output
Exception raised:
Traceback (most recent call last):
File "/home/jaap/downloads/sage-2.10.1.rc0/local/lib/python2.5/doctest.py", line 1212, in __run
compileflags, 1) in test.globs
File "<doctest __main__.example_2[2]>", line 1, in <module>
_= sage0.cputime() # random output###line 147:
sage: _= sage0.cputime() # random output
File "/home/jaap/downloads/sage-2.10.1.rc0/local/lib/python2.5/site-packages/sage/interfaces/sage0.py", line 150, in cputime
return eval(self.eval('cputime(%s)'%t))
File "<string>", line 1
1.726736
^
SyntaxError: invalid syntax
**********************************************************************
1 items had failures:
2 of 3 in __main__.example_2
***Test Failed*** 2 failures.
For whitespace errors, see the file .doctest_sage0.py
[6.9 s]
exit code: 256
Cheers,
Michael
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

