summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-02-18 16:54:41 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-02-18 16:54:41 (GMT)
commite2052ab82aad273fa547fb91e09d63a15b3be305 (patch)
treee33610f261ee2a88df9b372c0c873e295149ef27 /Lib
parentfb50d3ffa13a6fadd69da358869028cade89d3ca (diff)
downloadcpython-e2052ab82aad273fa547fb91e09d63a15b3be305.zip
cpython-e2052ab82aad273fa547fb91e09d63a15b3be305.tar.gz
cpython-e2052ab82aad273fa547fb91e09d63a15b3be305.tar.bz2
One doctest displaying a dict didn't sort it first. *Maybe* this fixes
the AIX problem with this test.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_descrtut.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_descrtut.py b/Lib/test/test_descrtut.py
index 017c145..66cb749 100644
--- a/Lib/test/test_descrtut.py
+++ b/Lib/test/test_descrtut.py
@@ -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}
>>>
"""