From e2052ab82aad273fa547fb91e09d63a15b3be305 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 18 Feb 2003 16:54:41 +0000 Subject: One doctest displaying a dict didn't sort it first. *Maybe* this fixes the AIX problem with this test. --- Lib/test/test_descrtut.py | 4 ++-- 1 file 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} >>> """ -- cgit v0.12