mirror of
https://github.com/python/cpython
synced 2024-10-08 17:08:05 +00:00
test_array: fix the DeprecationWarning('object.__init__() takes no parameters')
This commit is contained in:
parent
23683ef26d
commit
7a6a0093f3
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue