From: Georg Brandl Date: Fri, 10 Dec 2010 10:01:44 +0000 (+0000) Subject: #10668: fix wrong call of __init__. X-Git-Tag: v3.2b2~154 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf03ac0c64dba3ec33f9c3af1cbe7b387d1ca534;p=thirdparty%2FPython%2Fcpython.git #10668: fix wrong call of __init__. --- diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py index b44eb9789380..6de6bf265c22 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__(typecode) + array.array.__init__(self, typecode) tests = [] # list to accumulate all tests typecodes = "ubBhHiIlLfd"