Author: Antonio Cuni <anto.c...@gmail.com>
Branch: py3k
Changeset: r56540:b41975a0d8f0
Date: 2012-08-02 18:42 +0200
http://bitbucket.org/pypy/pypy/changeset/b41975a0d8f0/

Log:    we call unicode_w now

diff --git a/pypy/interpreter/test/test_argument.py 
b/pypy/interpreter/test/test_argument.py
--- a/pypy/interpreter/test/test_argument.py
+++ b/pypy/interpreter/test/test_argument.py
@@ -318,13 +318,13 @@
     def test_unwrap_error(self):
         space = DummySpace()
         valuedummy = object()
-        def str_w(w):
+        def unicode_w(w):
             if w is None:
                 raise OperationError(TypeError, None)
             if w is valuedummy:
                 raise OperationError(ValueError, None)
             return str(w)
-        space.str_w = str_w
+        space.unicode_w = unicode_w
         excinfo = py.test.raises(OperationError, Arguments, space, [],
                                  ["a"], [1], w_starstararg={None: 1})
         assert excinfo.value.w_type is TypeError
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to