[pypy-commit] pypy default: fix the test, now that we switched to frozenlist
antocuni
noreply at buildbot.pypy.org
Tue May 17 10:02:57 CEST 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch:
Changeset: r44229:4984eac57425
Date: 2011-05-17 10:10 +0200
http://bitbucket.org/pypy/pypy/changeset/4984eac57425/
Log: fix the test, now that we switched to frozenlist
diff --git a/pypy/jit/metainterp/test/test_resoperation.py b/pypy/jit/metainterp/test/test_resoperation.py
--- a/pypy/jit/metainterp/test/test_resoperation.py
+++ b/pypy/jit/metainterp/test/test_resoperation.py
@@ -72,7 +72,7 @@
def test_get_deep_immutable_oplist():
ops = [rop.ResOperation(rop.rop.INT_ADD, ['a', 'b'], 'c')]
newops = rop.get_deep_immutable_oplist(ops)
- py.test.raises(AttributeError, "newops.append('foobar')")
+ py.test.raises(TypeError, "newops.append('foobar')")
py.test.raises(TypeError, "newops[0] = 'foobar'")
py.test.raises(AssertionError, "newops[0].setarg(0, 'd')")
py.test.raises(AssertionError, "newops[0].setdescr('foobar')")
More information about the pypy-commit
mailing list