diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-04 00:04:44 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-04 00:04:44 (GMT) |
commit | 7a6a0093f3115149e5601fb9fa5a283b3034cbfc (patch) | |
tree | e77ea7072f5f0df04b108ee5f734c61c5c38780b /Lib/test | |
parent | 23683ef26d19581a61594c76a45af014c1ff7b13 (diff) | |
download | cpython-7a6a0093f3115149e5601fb9fa5a283b3034cbfc.zip cpython-7a6a0093f3115149e5601fb9fa5a283b3034cbfc.tar.gz cpython-7a6a0093f3115149e5601fb9fa5a283b3034cbfc.tar.bz2 |
test_array: fix the DeprecationWarning('object.__init__() takes no parameters')
Diffstat (limited to 'Lib/test')
-rwxr-xr-x | Lib/test/test_array.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 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" |