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
6294305c
Commit
6294305c
authored
Oct 28, 2012
by
Nadeem Vawda
Browse files
Options
Browse Files
Download
Plain Diff
Merge: Add test for BZ2Decompressor.decompress("") after end of stream.
parents
484adb50
a1952d41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Lib/test/test_bz2.py
Lib/test/test_bz2.py
+1
-0
No files found.
Lib/test/test_bz2.py
View file @
6294305c
...
...
@@ -647,6 +647,7 @@ class BZ2DecompressorTest(BaseTest):
bz2d
=
BZ2Decompressor
()
text
=
bz2d
.
decompress
(
self
.
DATA
)
self
.
assertRaises
(
EOFError
,
bz2d
.
decompress
,
b"anything"
)
self
.
assertRaises
(
EOFError
,
bz2d
.
decompress
,
b""
)
@
bigmemtest
(
size
=
_4G
+
100
,
memuse
=
3
)
def
testDecompress4G
(
self
,
size
):
...
...
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