[pypy-svn] pypy fast-forward: Fix nonsense in test_array.py, already done by CPython 3.2:
amauryfa
commits-noreply at bitbucket.org
Mon Jan 3 23:13:56 CET 2011
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: fast-forward
Changeset: r40358:d507ce0aa77c
Date: 2011-01-03 23:15 +0100
http://bitbucket.org/pypy/pypy/changeset/d507ce0aa77c/
Log: Fix nonsense in test_array.py, already done by CPython 3.2: "#10668:
fix wrong call of __init__."
diff --git a/lib-python/modified-2.7.0/test/test_array.py b/lib-python/modified-2.7.0/test/test_array.py
--- a/lib-python/modified-2.7.0/test/test_array.py
+++ b/lib-python/modified-2.7.0/test/test_array.py
@@ -14,7 +14,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 = "cubBhHiIlLfd"
More information about the Pypy-commit
mailing list