mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Cleanup test_descr: remove C8 that is the same as C3.
This commit is contained in:
parent
0071b3dfcb
commit
1fdc80b55f
1 changed files with 0 additions and 8 deletions
|
@ -4655,14 +4655,6 @@ class PicklingTests(unittest.TestCase):
|
|||
with self.assertRaises((TypeError, ValueError)):
|
||||
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:
|
||||
def __getnewargs_ex__(self):
|
||||
return (args, {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue