mirror of
https://github.com/python/cpython
synced 2024-10-09 07:09:53 +00:00
Fix the test output, now that escapes in repr() of string and Unicode
are different (Ping didn't test this).
This commit is contained in:
parent
0fc8b74fc5
commit
42756df91c
|
@ -2,13 +2,13 @@ test_mmap
|
||||||
<type 'mmap'>
|
<type 'mmap'>
|
||||||
Position of foo: 1.0 pages
|
Position of foo: 1.0 pages
|
||||||
Length of file: 2.0 pages
|
Length of file: 2.0 pages
|
||||||
Contents of byte 0: '\000'
|
Contents of byte 0: '\x00'
|
||||||
Contents of first 3 bytes: '\000\000\000'
|
Contents of first 3 bytes: '\x00\x00\x00'
|
||||||
|
|
||||||
Modifying file's content...
|
Modifying file's content...
|
||||||
Contents of byte 0: '3'
|
Contents of byte 0: '3'
|
||||||
Contents of first 3 bytes: '3\000\000'
|
Contents of first 3 bytes: '3\x00\x00'
|
||||||
Contents of second page: '\000foobar\000'
|
Contents of second page: '\x00foobar\x00'
|
||||||
Regex match on mmap (page start, length of match): 1.0 6
|
Regex match on mmap (page start, length of match): 1.0 6
|
||||||
Seek to zeroth byte
|
Seek to zeroth byte
|
||||||
Seek to 42nd byte
|
Seek to 42nd byte
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
test_rotor
|
test_rotor
|
||||||
'\265q\220\243\350IT\321\007\332\035\334\337'
|
'\xb5q\x90\xa3\xe8IT\xd1\x07\xda\x1d\xdc\xdf'
|
||||||
'\033>k(\037\212,\201\313\237\342'
|
'\x1b>k(\x1f\x8a,\x81\xcb\x9f\xe2'
|
||||||
spam and eggs
|
spam and eggs
|
||||||
cheese shop
|
cheese shop
|
||||||
|
|
Loading…
Reference in a new issue