]> granicus.if.org Git - python/commitdiff
Fix the test output, now that escapes in repr() of string and Unicode
authorGuido van Rossum <guido@python.org>
Wed, 24 Jan 2001 21:46:18 +0000 (21:46 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 24 Jan 2001 21:46:18 +0000 (21:46 +0000)
are different (Ping couldn't test this).

Lib/test/output/test_pyexpat

index 5d6160a9c2107b65edfa5b8a6522722ab149ab1c..da0731204e3e0e5bf40acf47e845166dd6f67994 100644 (file)
@@ -11,7 +11,7 @@ Notation declared: ('notation', None, 'notation.jpeg', None)
 Unparsed entity decl:
        ('unparsed_entity', None, 'entity.file', None, 'notation')
 Start element:
-       'root' {'attr1': 'value1', 'attr2': 'value2\341\275\200'}
+       'root' {'attr1': 'value1', 'attr2': 'value2\xe1\xbd\x80'}
 NS decl:
        'myns' 'http://www.python.org/namespace'
 Start element:
@@ -41,7 +41,7 @@ Notation declared: (u'notation', None, u'notation.jpeg', None)
 Unparsed entity decl:
        (u'unparsed_entity', None, u'entity.file', None, u'notation')
 Start element:
-       u'root' {u'attr1': u'value1', u'attr2': u'value2\u1F40'}
+       u'root' {u'attr1': u'value1', u'attr2': u'value2\u1f40'}
 NS decl:
        u'myns' u'http://www.python.org/namespace'
 Start element:
@@ -71,7 +71,7 @@ Notation declared: (u'notation', None, u'notation.jpeg', None)
 Unparsed entity decl:
        (u'unparsed_entity', None, u'entity.file', None, u'notation')
 Start element:
-       u'root' {u'attr1': u'value1', u'attr2': u'value2\u1F40'}
+       u'root' {u'attr1': u'value1', u'attr2': u'value2\u1f40'}
 NS decl:
        u'myns' u'http://www.python.org/namespace'
 Start element: