Author: Lars Wassermann <lars.wasserm...@gmail.com> Branch: Changeset: r503:0340cec8ce22 Date: 2013-07-16 17:35 +0200 http://bitbucket.org/pypy/lang-smalltalk/changeset/0340cec8ce22/
Log: fixing the remaining test diff --git a/spyvm/test/test_model.py b/spyvm/test/test_model.py --- a/spyvm/test/test_model.py +++ b/spyvm/test/test_model.py @@ -72,7 +72,7 @@ w_bytes.setword(3, 42) assert w_bytes.getword(3) == 42 assert w_bytes.getword(0) == 0 - py.test.raises(IndexError, lambda: w_bytes.getword(20)) + py.test.raises(AssertionError, lambda: w_bytes.getword(20)) def test_c_word_object(): w_class = mockclass(space, 0, format=shadow.WORDS) @@ -85,7 +85,7 @@ w_bytes.setword(3, 42) assert w_bytes.getword(3) == 42 assert w_bytes.getword(0) == 0 - py.test.raises(IndexError, lambda: w_bytes.getword(20)) + py.test.raises(AssertionError, lambda: w_bytes.getword(20)) def test_method_lookup(): class mockmethod(object): _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit