diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-10-11 17:42:39 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-10-11 17:42:39 +0300 |
commit | 1fdc80b55f4d1cb0a39aa271db3b579ce5094d77 (patch) | |
tree | dbb7f59e18f70a1f1701ab8b01583f9222f52cb4 /Lib/test/test_descr.py | |
parent | 0071b3dfcb9c5438ca404e173d4728386ccce580 (diff) | |
download | cpython-git-1fdc80b55f4d1cb0a39aa271db3b579ce5094d77.tar.gz |
Cleanup test_descr: remove C8 that is the same as C3.
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r-- | Lib/test/test_descr.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index adce6e5905..ce9626c77a 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, {}) |