Hi William, On Mon, Aug 10, 2009 at 3:58 AM, William Stein<wst...@gmail.com> wrote: > > > On Sun, Aug 9, 2009 at 2:19 AM, Minh Nguyen <nguyenmi...@gmail.com> wrote: >> >> Hi Georg, >> >> On Sun, Aug 9, 2009 at 7:09 PM, gsw<georgswe...@googlemail.com> wrote: >> > >> > 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 > > The above doctest should be changed so they don't depend on random hashing, > e.g., change the dicts to lists of sorted tuples.
This is now ticket #6717: http://trac.sagemath.org/sage_trac/ticket/6717 -- Regards Minh Van Nguyen --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---