Cleanup test_descr: remove C8 that is the same as C3.

This commit is contained in:
Serhiy Storchaka 2015-10-11 17:43:12 +03:00
commit 1ddbb8cf47
1 changed files with 0 additions and 8 deletions

View File

@ -4763,14 +4763,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, {})