From: Victor Stinner Date: Tue, 4 Jan 2011 00:04:44 +0000 (+0000) Subject: test_array: fix the DeprecationWarning('object.__init__() takes no parameters') X-Git-Tag: v3.2rc1~208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a6a0093f3115149e5601fb9fa5a283b3034cbfc;p=python test_array: fix the DeprecationWarning('object.__init__() takes no parameters') --- diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py index 6de6bf265c..33fb244534 100755 --- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py @@ -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"