diff options
Diffstat (limited to 'Lib/test/test_pyexpat.py')
-rw-r--r-- | Lib/test/test_pyexpat.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py index fecb27e..873dd69 100644 --- a/Lib/test/test_pyexpat.py +++ b/Lib/test/test_pyexpat.py @@ -5,9 +5,11 @@ from xml.parsers import expat +from test_support import sortdict + class Outputter: def StartElementHandler(self, name, attrs): - print 'Start element:\n\t', repr(name), attrs + print 'Start element:\n\t', repr(name), sortdict(attrs) def EndElementHandler(self, name): print 'End element:\n\t', repr(name) |