Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1f4aaaa2
Commit
1f4aaaa2
authored
Jan 24, 2001
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the test output, now that escapes in repr() of string and Unicode
are different (Ping didn't test this).
parent
4adb86a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Lib/test/output/test_mmap
Lib/test/output/test_mmap
+4
-4
Lib/test/output/test_rotor
Lib/test/output/test_rotor
+2
-2
No files found.
Lib/test/output/test_mmap
View file @
1f4aaaa2
...
@@ -2,13 +2,13 @@ test_mmap
...
@@ -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: '\
0
00'
Contents of byte 0: '\
x
00'
Contents of first 3 bytes: '\
000\000\0
00'
Contents of first 3 bytes: '\
x00\x00\x
00'
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\0
00'
Contents of first 3 bytes: '3\
x00\x
00'
Contents of second page: '\
000foobar\0
00'
Contents of second page: '\
x00foobar\x
00'
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
...
...
Lib/test/output/test_rotor
View file @
1f4aaaa2
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\34
2'
'\
x1b>k(\x1f\x8a,\x81\xcb\x9f\xe
2'
spam and eggs
spam and eggs
cheese shop
cheese shop
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment