From: Serhiy Storchaka Date: Sun, 11 Oct 2015 14:42:39 +0000 (+0300) Subject: Cleanup test_descr: remove C8 that is the same as C3. X-Git-Tag: v3.5.1rc1~174^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fdc80b55f4d1cb0a39aa271db3b579ce5094d77;p=thirdparty%2FPython%2Fcpython.git Cleanup test_descr: remove C8 that is the same as C3. --- diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index adce6e590516..ce9626c77a77 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -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, {})