mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
test_array: fix the DeprecationWarning('object.__init__() takes no parameters')
This commit is contained in:
parent
23683ef26d
commit
7a6a0093f3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue