diff options
| author | Tim Peters <tim.peters@gmail.com> | 2003-02-18 16:54:41 +0000 |
|---|---|---|
| committer | Tim Peters <tim.peters@gmail.com> | 2003-02-18 16:54:41 +0000 |
| commit | e2052ab82aad273fa547fb91e09d63a15b3be305 (patch) | |
| tree | e33610f261ee2a88df9b372c0c873e295149ef27 | |
| parent | fb50d3ffa13a6fadd69da358869028cade89d3ca (diff) | |
| download | cpython-git-e2052ab82aad273fa547fb91e09d63a15b3be305.tar.gz | |
One doctest displaying a dict didn't sort it first. *Maybe* this fixes
the AIX problem with this test.
| -rw-r--r-- | Lib/test/test_descrtut.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_descrtut.py b/Lib/test/test_descrtut.py index 017c1450aa..66cb74924d 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} >>> """ |
