In IronPython.test_inheritance there are tests which are similar to:
import System
class test(System.Collections.Generic.List[System.Int32]):
def __init__(self):
super().__init__(1)
test()
which fail with:
TypeError: object.__init__() takes no parameters
These tests worked with IronPython 2 and raised a DeprecationWarning. I'm not entirely sure what the purpose of having the super().__init__ calls on a .NET class (which doesn't define __init__). I think having it throw TypeError is correct and the tests should be fixed.
In
IronPython.test_inheritancethere are tests which are similar to:which fail with:
These tests worked with IronPython 2 and raised a
DeprecationWarning. I'm not entirely sure what the purpose of having thesuper().__init__calls on a .NET class (which doesn't define__init__). I think having it throwTypeErroris correct and the tests should be fixed.