19 Dec
2005
19 Dec
'05
3:40 p.m.
Jim Fulton wrote:
This is really just a matter of knowing how to write the test. Generally, when you want to show a dict sample, the way to do it is with:
from zope.testing/doctestunit import pprint pprint(thisdict)
This formats the dictionary nicely and, most importantly, sorts the items before displaying it.
This is what I did in this test, btw. Philipp P.S.: My other reply got swallowed by Mailman, can someone accept the posting please? ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.