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
2b04bbf6
Commit
2b04bbf6
authored
Jun 26, 2012
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Plain Diff
Issue #15079: make a test applicable to both C and Python versions of the pickle module.
Patch by Stefan Mihaila.
parents
868277ba
5a5272c3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
Lib/test/pickletester.py
Lib/test/pickletester.py
+5
-3
Misc/ACKS
Misc/ACKS
+1
-0
No files found.
Lib/test/pickletester.py
View file @
2b04bbf6
...
...
@@ -708,6 +708,11 @@ class AbstractPickleTests(unittest.TestCase):
def
test_getinitargs
(
self
):
pass
def
test_pop_empty_stack
(
self
):
# Test issue7455
s
=
b'0'
self
.
assertRaises
((
pickle
.
UnpicklingError
,
IndexError
),
self
.
loads
,
s
)
def
test_metaclass
(
self
):
a
=
use_metaclass
()
for
proto
in
protocols
:
...
...
@@ -1424,9 +1429,6 @@ class AbstractPickleModuleTests(unittest.TestCase):
# Test issue4298
s
=
bytes
([
0x58
,
0
,
0
,
0
,
0x54
])
self
.
assertRaises
(
EOFError
,
pickle
.
loads
,
s
)
# Test issue7455
s
=
b'0'
self
.
assertRaises
(
pickle
.
UnpicklingError
,
pickle
.
loads
,
s
)
class
AbstractPersistentPicklerTests
(
unittest
.
TestCase
):
...
...
Misc/ACKS
View file @
2b04bbf6
...
...
@@ -695,6 +695,7 @@ Alexis Métaireau
Steven Miale
Trent Mick
Stan Mihai
Stefan Mihaila
Aristotelis Mikropoulos
Chad Miller
Damien Miller
...
...
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