[Zodb-checkins] CVS: StandaloneZODB/ExtensionClass/test - test_MultiMapping.py:1.2
Guido van Rossum
guido@python.org
Fri, 7 Sep 2001 14:48:32 -0400
Update of /cvs-repository/StandaloneZODB/ExtensionClass/test
In directory cvs.zope.org:/tmp/cvs-serv3691
Modified Files:
test_MultiMapping.py
Log Message:
Use the pprint module to print dictionaries. It happens to print the
keys in sorted order, which makes the output independent from the hash
table order (which can differ bewteen Python versions).
=== StandaloneZODB/ExtensionClass/test/test_MultiMapping.py 1.1 => 1.2 ===
from MultiMapping import *
m=MultiMapping()
@@ -12,8 +13,8 @@
print m['spam']
print m['eggs']
-print m.pop()
-print m.pop()
+pprint(m.pop())
+pprint(m.pop())
try:
print m.pop()