Re: [sage-devel] Re: doctest failure in sage-6.2.rc0

2014-04-28 Thread William Stein
On Mon, Apr 28, 2014 at 9:41 AM, Volker Braun wrote: > On Monday, April 28, 2014 5:38:39 PM UTC+1, William wrote: >> >> But then you have to convert to a different type first, e.g., >> list(sorted(x.items())), right? > > > Output is a json string. Oh, I see. Thanks for the clarification. > > >

Re: [sage-devel] Re: doctest failure in sage-6.2.rc0

2014-04-28 Thread Volker Braun
On Monday, April 28, 2014 5:38:39 PM UTC+1, William wrote: > > But then you have to convert to a different type first, e.g., > list(sorted(x.items())), right? > Output is a json string. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsub

Re: [sage-devel] Re: doctest failure in sage-6.2.rc0

2014-04-28 Thread William Stein
On Mon, Apr 28, 2014 at 9:36 AM, Volker Braun wrote: > On Monday, April 28, 2014 5:26:43 PM UTC+1, William wrote: >> >> is clearly broken -- you can't test dictionaries for equality textual. > > > you can if you sort the keys. But then you have to convert to a different type first, e.g., list(sor

[sage-devel] Re: doctest failure in sage-6.2.rc0

2014-04-28 Thread Volker Braun
On Monday, April 28, 2014 5:26:43 PM UTC+1, William wrote: > > is clearly broken -- you can't test dictionaries for equality textual. > you can if you sort the keys. You have simplejson installed which is not default, and it apparently uses a different sort order than json. -- You received th