[pypy-svn] r17418 - pypy/dist/pypy/rpython/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Fri Sep 9 18:09:42 CEST 2005
Author: cfbolz
Date: Fri Sep 9 18:09:41 2005
New Revision: 17418
Modified:
pypy/dist/pypy/rpython/test/test_nongc.py
Log:
check that setting an attribute on a freed nongc object raises as well (thanks arigo).
Modified: pypy/dist/pypy/rpython/test/test_nongc.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_nongc.py (original)
+++ pypy/dist/pypy/rpython/test/test_nongc.py Fri Sep 9 18:09:41 2005
@@ -24,6 +24,7 @@
py.test.raises(RuntimeError, "t.method1()")
py.test.raises(RuntimeError, "t.method2()")
py.test.raises(RuntimeError, "t.a")
+ py.test.raises(RuntimeError, "t.a = 1")
py.test.raises(AssertionError, "free_non_gc_object(TestClass2())")
def test_alloc_flavor():
More information about the Pypy-commit
mailing list