One doctest displaying a dict didn't sort it first. *Maybe* this fixes
authorTim Peters <tim.peters@gmail.com>
Tue, 18 Feb 2003 16:54:41 +0000 (16:54 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 18 Feb 2003 16:54:41 +0000 (16:54 +0000)
the AIX problem with this test.

Lib/test/test_descrtut.py

index 017c1450aa7b9a4bf831f826bb5a9a6a68c61c1c..66cb74924d9b57392a3f8e6bb7e00ca34f4d2424 100644 (file)
@@ -106,8 +106,8 @@ just like classic classes:
     >>> d = dir(a)
     >>> 'default' in d and 'x1' in d and 'x2' in d
     True
-    >>> print a.__dict__
-    {'default': -1000, 'x2': 200, 'x1': 100}
+    >>> print sortdict(a.__dict__)
+    {'default': -1000, 'x1': 100, 'x2': 200}
     >>>
 """