summaryrefslogtreecommitdiffstats
path: root/Lib/test/output/test_mmap
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-01-24 21:49:57 (GMT)
committerGuido van Rossum <guido@python.org>2001-01-24 21:49:57 (GMT)
commit42756df91cb466d3672756cdeae03089adb72e3f (patch)
tree9d1a0365384aa06dd8ef4e89c869e279d4e17af2 /Lib/test/output/test_mmap
parent0fc8b74fc59315cdc232a8b8e36e9d3ec8c14cd0 (diff)
downloadcpython-42756df91cb466d3672756cdeae03089adb72e3f.zip
cpython-42756df91cb466d3672756cdeae03089adb72e3f.tar.gz
cpython-42756df91cb466d3672756cdeae03089adb72e3f.tar.bz2
Fix the test output, now that escapes in repr() of string and Unicode
are different (Ping didn't test this).
Diffstat (limited to 'Lib/test/output/test_mmap')
-rw-r--r--Lib/test/output/test_mmap8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/output/test_mmap b/Lib/test/output/test_mmap
index ce2c823..815cfe3 100644
--- a/Lib/test/output/test_mmap
+++ b/Lib/test/output/test_mmap
@@ -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