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
1fdc80b5
Commit
1fdc80b5
authored
Oct 11, 2015
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup test_descr: remove C8 that is the same as C3.
parent
0071b3df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
Lib/test/test_descr.py
Lib/test/test_descr.py
+0
-8
No files found.
Lib/test/test_descr.py
View file @
1fdc80b5
...
@@ -4655,14 +4655,6 @@ class PicklingTests(unittest.TestCase):
...
@@ -4655,14 +4655,6 @@ class PicklingTests(unittest.TestCase):
with
self
.
assertRaises
((
TypeError
,
ValueError
)):
with
self
.
assertRaises
((
TypeError
,
ValueError
)):
obj
.
__reduce_ex__
(
proto
)
obj
.
__reduce_ex__
(
proto
)
class
C8
:
def
__getnewargs_ex__
(
self
):
return
(
args
,
kwargs
)
obj
=
C8
()
for
proto
in
protocols
:
if
2
<=
proto
<
4
:
with
self
.
assertRaises
(
ValueError
):
obj
.
__reduce_ex__
(
proto
)
class
C9
:
class
C9
:
def
__getnewargs_ex__
(
self
):
def
__getnewargs_ex__
(
self
):
return
(
args
,
{})
return
(
args
,
{})
...
...
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