commit | 7a6a0093f3115149e5601fb9fa5a283b3034cbfc | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Tue Jan 04 00:04:44 2011 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Tue Jan 04 00:04:44 2011 +0000 |
tree | e77ea7072f5f0df04b108ee5f734c61c5c38780b | |
parent | 23683ef26d19581a61594c76a45af014c1ff7b13 [diff] [blame] |
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 6de6bf2..33fb244 100755 --- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py
@@ -22,7 +22,7 @@ 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"