summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-01-04 00:04:44 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-01-04 00:04:44 (GMT)
commit7a6a0093f3115149e5601fb9fa5a283b3034cbfc (patch)
treee77ea7072f5f0df04b108ee5f734c61c5c38780b /Lib/test
parent23683ef26d19581a61594c76a45af014c1ff7b13 (diff)
downloadcpython-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-xLib/test/test_array.py2
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"