Fix an invalid assertEqual() call in test_descr.py (GH-15318)

This commit is contained in:
Zackery Spytz 2019-08-26 16:41:11 -06:00 committed by Pablo Galindo
parent bed4817d52
commit 6b2e3256b6
1 changed files with 1 additions and 5 deletions

View File

@ -2659,12 +2659,8 @@ order (MRO) for bases """
self.assertEqual(Sub.test(), Base.aProp)
# Verify that super() doesn't allow keyword args
try:
with self.assertRaises(TypeError):
super(Base, kw=1)
except TypeError:
pass
else:
self.assertEqual("super shouldn't accept keyword args")
def test_basic_inheritance(self):
# Testing inheritance from basic types...