projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb50d3f
)
One doctest displaying a dict didn't sort it first. *Maybe* this fixes
author
Tim Peters
<tim.peters@gmail.com>
Tue, 18 Feb 2003 16:54:41 +0000
(16:54 +0000)
committer
Tim Peters
<tim.peters@gmail.com>
Tue, 18 Feb 2003 16:54:41 +0000
(16:54 +0000)
the AIX problem with this test.
Lib/test/test_descrtut.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_descrtut.py
b/Lib/test/test_descrtut.py
index 017c1450aa7b9a4bf831f826bb5a9a6a68c61c1c..66cb74924d9b57392a3f8e6bb7e00ca34f4d2424 100644
(file)
--- 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, 'x
2': 200, 'x1': 1
00}
+ >>> print
sortdict(a.__dict__)
+ {'default': -1000, 'x
1': 100, 'x2': 2
00}
>>>
"""