Author: Maciej Fijalkowski <fij...@gmail.com> Branch: gc_no_cleanup_nursery Changeset: r73333:ef37f9ae099a Date: 2014-09-05 15:12 -0600 http://bitbucket.org/pypy/pypy/changeset/ef37f9ae099a/
Log: the test is bogus, fix seems to be ok diff --git a/rpython/translator/c/test/test_newgc.py b/rpython/translator/c/test/test_newgc.py --- a/rpython/translator/c/test/test_newgc.py +++ b/rpython/translator/c/test/test_newgc.py @@ -1194,28 +1194,6 @@ def test_gcflag_extra(self): self.run("gcflag_extra") - def define_zeroing_class_works(self): - class A(object): - def __init__(self, x): - self.x = x - - class BABA(A): - def __init__(self, y): - self.y = y - - def fn(x): - if x > 3: - a = BABA(str(x)) - else: - a = A(x) - assert not a.y - return 0 - - return fn - - def test_zeroing_class_works(self): - self.run("zeroing_class_works", 13) - def define_check_zero_works(self): S = lltype.GcStruct("s", ('x', lltype.Signed)) S2 = lltype.GcStruct("s2", ('parent', _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit