[pypy-commit] pypy default: fix apptests

fijal noreply at buildbot.pypy.org
Sat Aug 11 10:42:24 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r56703:ed726861a277
Date: 2012-08-11 10:42 +0200
http://bitbucket.org/pypy/pypy/changeset/ed726861a277/

Log:	fix apptests

diff --git a/pypy/conftest.py b/pypy/conftest.py
--- a/pypy/conftest.py
+++ b/pypy/conftest.py
@@ -186,6 +186,9 @@
     def delslice(self, obj, *args):
         obj.__delslice__(*args)
 
+    def is_w(self, obj1, obj2):
+        return obj1 is obj2
+
 def translation_test_so_skip_if_appdirect():
     if option.runappdirect:
         py.test.skip("translation test, skipped for appdirect")


More information about the pypy-commit mailing list