summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-10-11 14:42:39 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-10-11 14:42:39 (GMT)
commit1fdc80b55f4d1cb0a39aa271db3b579ce5094d77 (patch)
treedbb7f59e18f70a1f1701ab8b01583f9222f52cb4 /Lib
parent0071b3dfcb9c5438ca404e173d4728386ccce580 (diff)
downloadcpython-1fdc80b55f4d1cb0a39aa271db3b579ce5094d77.zip
cpython-1fdc80b55f4d1cb0a39aa271db3b579ce5094d77.tar.gz
cpython-1fdc80b55f4d1cb0a39aa271db3b579ce5094d77.tar.bz2
Cleanup test_descr: remove C8 that is the same as C3.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_descr.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index adce6e5..ce9626c 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, {})