commit | e2052ab82aad273fa547fb91e09d63a15b3be305 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Tue Feb 18 16:54:41 2003 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Tue Feb 18 16:54:41 2003 +0000 |
tree | e33610f261ee2a88df9b372c0c873e295149ef27 | |
parent | fb50d3ffa13a6fadd69da358869028cade89d3ca [diff] |
One doctest displaying a dict didn't sort it first. *Maybe* this fixes the AIX problem with this test.
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 @@ >>> 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} >>> """