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
70ea7fa6
Commit
70ea7fa6
authored
Feb 08, 2013
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Fix accidental non-breakable spaces (U+00A0).
parents
5546b002
1273dfc3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Lib/test/test_lzma.py
Lib/test/test_lzma.py
+1
-1
Lib/test/test_pyexpat.py
Lib/test/test_pyexpat.py
+1
-1
Misc/NEWS
Misc/NEWS
+1
-1
No files found.
Lib/test/test_lzma.py
View file @
70ea7fa6
...
...
@@ -671,7 +671,7 @@ class FileTestCase(unittest.TestCase):
def
test_read_truncated
(
self
):
# Drop stream footer: CRC (4 bytes), index size (4 bytes),
# flags
(2 bytes) and magic number (2 bytes).
# flags
(2 bytes) and magic number (2 bytes).
truncated
=
COMPRESSED_XZ
[:
-
12
]
with
LZMAFile
(
BytesIO
(
truncated
))
as
f
:
self
.
assertRaises
(
EOFError
,
f
.
read
)
...
...
Lib/test/test_pyexpat.py
View file @
70ea7fa6
...
...
@@ -600,7 +600,7 @@ class MalformedInputTest(unittest.TestCase):
self
.
assertEqual
(
str
(
e
),
'unclosed token: line 2, column 0'
)
def
test2
(
self
):
#
\xc2\x85 is UTF-8 encoded U+0085 (NEXT LINE)
#
\xc2\x85 is UTF-8 encoded U+0085 (NEXT LINE)
xml
=
b"<?xml version
\
xc2
\
x85
='1.0'?>
\
r
\
n
"
parser
=
expat
.
ParserCreate
()
try
:
...
...
Misc/NEWS
View file @
70ea7fa6
...
...
@@ -171,7 +171,7 @@ Library
- Issue #17073: Fix some integer overflows in sqlite3 module.
- Issue #17114: IDLE
now uses non-strict config parser.
- Issue #17114: IDLE
now uses non-strict config parser.
- Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
is automatically closed.
...
...
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