[Python-checkins] cpython (merge 3.4 -> 3.5): 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/911f2586e6b4
changeset: 98685:911f2586e6b4
branch: 3.5
parent: 98681:493845d905c5
parent: 98684:f9820c4724ca
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sun Oct 11 17:43:12 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
@@ -4763,14 +4763,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

AltStyle によって変換されたページ (->オリジナル) /