Commit 6b2e3256 authored by Zackery Spytz's avatar Zackery Spytz Committed by Pablo Galindo

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

parent bed4817d
......@@ -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...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment