Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 1fdc80b

Browse files
Cleanup test_descr: remove C8 that is the same as C3.
1 parent 0071b3d commit 1fdc80b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Lib/test/test_descr.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4655,14 +4655,6 @@ def __getnewargs_ex__(self):
46554655
with self.assertRaises((TypeError, ValueError)):
46564656
obj.__reduce_ex__(proto)
46574657

4658-
class C8:
4659-
def __getnewargs_ex__(self):
4660-
return (args, kwargs)
4661-
obj = C8()
4662-
for proto in protocols:
4663-
if 2 <= proto < 4:
4664-
with self.assertRaises(ValueError):
4665-
obj.__reduce_ex__(proto)
46664658
class C9:
46674659
def __getnewargs_ex__(self):
46684660
return (args, {})

0 commit comments

Comments
 (0)