Commit 7a6a0093 authored by Victor Stinner's avatar Victor Stinner

test_array: fix the DeprecationWarning('object.__init__() takes no parameters')

parent 23683ef2
......@@ -22,7 +22,7 @@ class ArraySubclass(array.array):
class ArraySubclassWithKwargs(array.array):
def __init__(self, typecode, newarg=None):
array.array.__init__(self, typecode)
array.array.__init__(self)
tests = [] # list to accumulate all tests
typecodes = "ubBhHiIlLfd"
......
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