Author: Antonio Cuni <anto.c...@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)") _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit