[pypy-commit] pypy default: fix test_gateway
fijal
noreply at buildbot.pypy.org
Sat Mar 23 05:54:41 CET 2013
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r62685:61814711d83a
Date: 2013-03-22 21:54 -0700
http://bitbucket.org/pypy/pypy/changeset/61814711d83a/
Log: fix test_gateway
diff --git a/pypy/interpreter/test/test_gateway.py b/pypy/interpreter/test/test_gateway.py
--- a/pypy/interpreter/test/test_gateway.py
+++ b/pypy/interpreter/test/test_gateway.py
@@ -24,8 +24,12 @@
assert code.signature() == Signature(['x', 'y'], 'hello', None)
def d(self, w_boo):
pass
+
+ class W_X(W_Root):
+ pass
+
code = gateway.BuiltinCode(d, unwrap_spec= ['self',
- gateway.W_Root], self_type=gateway.W_Root)
+ gateway.W_Root], self_type=W_X)
assert code.signature() == Signature(['self', 'boo'], None, None)
def e(space, w_x, w_y, __args__):
pass
More information about the pypy-commit
mailing list