Author: Maciej Fijalkowski <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to