Hi,
on Mac(Intel) OS X 10.4.11 (XCode 2.5 / gcc 4.0.1 build "5370"), Sage
4.1.1.rc2 builds fine.
However, there are two (reproducible) doctest failures, one known one
and one I never saw before. The known one is:
sage -t -long "devel/sage/sage/symbolic/expression.pyx"
**********************************************************************
File "/Users/Shared/sage/sage-4.1.1.rc2/devel/sage/sage/symbolic/
expression.pyx", line 2515:
sage: ((x+y)^a).match(w0^w1)
Expected:
{$1: a, $0: x + y}
Got:
{$0: x + y, $1: a}
**********************************************************************
File "/Users/Shared/sage/sage-4.1.1.rc2/devel/sage/sage/symbolic/
expression.pyx", line 2521:
sage: ((a+b)*(a+c)).match((a+w0)*(a+w1))
Expected:
{$1: c, $0: b}
Got:
{$0: b, $1: c}
**********************************************************************
File "/Users/Shared/sage/sage-4.1.1.rc2/devel/sage/sage/symbolic/
expression.pyx", line 2527:
sage: (a*(x+y)+a*z+b).match(a*w0+w1)
Expected:
{$1: a*z + b, $0: x + y}
Got:
{$0: x + y, $1: a*z + b}
**********************************************************************
1 items had failures:
3 of 24 in __main__.example_62
***Test Failed*** 3 failures.
For whitespace errors, see the file /Users/Shared/sage/sage-4.1.1.rc2/
tmp/.doctest_expression.py
[73.6 s]
And the new one is:
sage -t "devel/sage/sage/server/simple/twist.py"
**********************************************************************
File "/Users/Shared/sage/sage-4.1.1.rc2/devel/sage/sage/server/simple/
twist.py", line 51:
sage: print get_url('http://localhost:%s/simple/compute?session=
%s&code=2*2' % (port, session))
Expected:
{
"status": "done",
"files": [],
"cell_id": 1
}
___S_A_G_E___
4
Got:
{
"status": "computing",
"files": [],
"cell_id": 1
}
___S_A_G_E___
<BLANKLINE>
**********************************************************************
File "/Users/Shared/sage/sage-4.1.1.rc2/devel/sage/sage/server/simple/
twist.py", line 95:
sage: print get_url('http://localhost:%s/simple/compute?session=
%s&code=%s' % (port, session, urllib.quote(code)))
Expected:
{
"status": "done",
"files": ["a.txt"],
"cell_id": 3
}
___S_A_G_E___
Got:
{
"status": "done",
"files": [],
"cell_id": 3
}
___S_A_G_E___
<BLANKLINE>
Traceback (most recent call last): h = open('a.txt', 'w');
h.write('test'); h.close()
NameError: name 'os' is not defined
THERE WAS AN ERROR LOADING THE SAGE LIBRARIES. Try starting Sage
from the command line to see what the error is.
**********************************************************************
File "/Users/Shared/sage/sage-4.1.1.rc2/devel/sage/sage/server/simple/
twist.py", line 103:
sage: print get_url('http://localhost:%s/simple/file?session=
%s&cell=3&file=a.txt' % (port, session))
Expected:
test
Got:
No such file a.txt in cell 3.
**********************************************************************
1 items had failures:
3 of 24 in __main__.example_0
***Test Failed*** 3 failures.
For whitespace errors, see the file /Users/Shared/sage/sage-4.1.1.rc2/
tmp/.doctest_twist.py
[22.9 s]
exit code: 1024
Cheers,
Georg
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---