[pypy-commit] pypy py3k: Fix some test_ztranslation failures,

amauryfa noreply at buildbot.pypy.org
Mon Oct 8 00:09:59 CEST 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r57872:4d836b33546a
Date: 2012-10-07 23:08 +0200
http://bitbucket.org/pypy/pypy/changeset/4d836b33546a/

Log:	Fix some test_ztranslation failures, functions with unwrap_spec(str)
	could not be analyzed.

diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py
--- a/pypy/objspace/fake/objspace.py
+++ b/pypy/objspace/fake/objspace.py
@@ -41,6 +41,7 @@
 
     def str_w(self, space):
         return NonConstant("foobar")
+    identifier_w = bytes_w = str_w
 
     def unicode_w(self, space):
         return NonConstant(u"foobar")


More information about the pypy-commit mailing list