[Python-checkins] r87156 - python/branches/py3k/Lib/test/test_array.py

georg.brandl python-checkins at python.org
Fri Dec 10 11:01:44 CET 2010


Author: georg.brandl
Date: Fri Dec 10 11:01:44 2010
New Revision: 87156

Log:
#10668: fix wrong call of __init__.

Modified:
   python/branches/py3k/Lib/test/test_array.py

Modified: python/branches/py3k/Lib/test/test_array.py
==============================================================================
--- python/branches/py3k/Lib/test/test_array.py	(original)
+++ python/branches/py3k/Lib/test/test_array.py	Fri Dec 10 11:01:44 2010
@@ -22,7 +22,7 @@
 
 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"


More information about the Python-checkins mailing list