[pypy-commit] pypy default: fix test
antocuni
noreply at buildbot.pypy.org
Wed Aug 22 18:52:25 CEST 2012
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch:
Changeset: r56810:c624f0e4d488
Date: 2012-08-22 17:17 +0200
http://bitbucket.org/pypy/pypy/changeset/c624f0e4d488/
Log: fix test
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
@@ -427,7 +427,7 @@
assert f.foo == 'foo'
assert f(1, 'hello', 42) == (1, 'hello', 42)
exc = py.test.raises(TypeError, "f(1, 2, 3)")
- assert exc.value.message == "f argument number 2 must be of type <type 'str'>"
+ assert exc.value.message == "f argument 'b' must be of type <type 'str'>"
py.test.raises(TypeError, "f('hello', 'world', 3)")
More information about the pypy-commit
mailing list