[Python-checkins] cpython (3.4): Cleanup test_descr: remove C8 that is the same as C3.
serhiy.storchaka
python-checkins at python.org
Sun Oct 11 10:55:13 EDT 2015
https://hg.python.org/cpython/rev/f9820c4724ca
changeset: 98684:f9820c4724ca
branch: 3.4
parent: 98668:275d388ca1fc
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sun Oct 11 17:42:39 2015 +0300
summary:
Cleanup test_descr: remove C8 that is the same as C3.
files:
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
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -4655,14 +4655,6 @@
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, {})
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list