diff options
Diffstat (limited to 'Lib/test/test_descrtut.py')
-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 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} >>> """ |