From 1fdc80b55f4d1cb0a39aa271db3b579ce5094d77 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 11 Oct 2015 17:42:39 +0300 Subject: [PATCH] Cleanup test_descr: remove C8 that is the same as C3. --- Lib/test/test_descr.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index adce6e59051..ce9626c77a7 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, {})