]> 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:49:57 +0000 (21:49 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 24 Jan 2001 21:49:57 +0000 (21:49 +0000)
are different (Ping didn't test this).

Lib/test/output/test_mmap
Lib/test/output/test_rotor

index ce2c823428785e121f9ad4ac78f48a121f9bd7f9..815cfe35b017069d219223893827c5f2de522086 100644 (file)
@@ -2,13 +2,13 @@ test_mmap
 <type 'mmap'>
   Position of foo: 1.0 pages
   Length of file: 2.0 pages
-  Contents of byte 0: '\000'
-  Contents of first 3 bytes: '\000\000\000'
+  Contents of byte 0: '\x00'
+  Contents of first 3 bytes: '\x00\x00\x00'
 
   Modifying file's content...
   Contents of byte 0: '3'
-  Contents of first 3 bytes: '3\000\000'
-  Contents of second page: '\000foobar\000'
+  Contents of first 3 bytes: '3\x00\x00'
+  Contents of second page: '\x00foobar\x00'
   Regex match on mmap (page start, length of match): 1.0 6
   Seek to zeroth byte
   Seek to 42nd byte
index 621b089ac325701229495bee80ae93f55c38be19..6b15b8b550479ab99e977bd39a992843ba334fcb 100644 (file)
@@ -1,5 +1,5 @@
 test_rotor
-'\265q\220\243\350IT\321\007\332\035\334\337'
-'\033>k(\037\212,\201\313\237\342'
+'\xb5q\x90\xa3\xe8IT\xd1\x07\xda\x1d\xdc\xdf'
+'\x1b>k(\x1f\x8a,\x81\xcb\x9f\xe2'
 spam and eggs
 cheese shop