Author: Antonio Cuni <[email protected]>
Branch: rpython-unicode-formatting
Changeset: r56132:61073e926d0b
Date: 2012-07-18 11:40 +0200
http://bitbucket.org/pypy/pypy/changeset/61073e926d0b/
Log: a branch where to add support for % formatting to unicode strings in
rpython
diff --git a/pypy/rlib/test/test_objectmodel.py
b/pypy/rlib/test/test_objectmodel.py
--- a/pypy/rlib/test/test_objectmodel.py
+++ b/pypy/rlib/test/test_objectmodel.py
@@ -429,6 +429,7 @@
exc = py.test.raises(TypeError, "f(1, 2, 3)")
assert exc.value.message == "f argument number 2 must be of type <type
'str'>"
py.test.raises(TypeError, "f('hello', 'world', 3)")
+
def test_enforceargs_defaults():
@enforceargs(int, int)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit