[pypy-commit] pypy gc-del-3: oops

arigo pypy.commits at gmail.com
Wed May 4 12:11:13 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: gc-del-3
Changeset: r84190:af37b7a7dc95
Date: 2016-05-04 17:50 +0200
http://bitbucket.org/pypy/pypy/changeset/af37b7a7dc95/

Log:	oops

diff --git a/rpython/memory/test/gc_test_base.py b/rpython/memory/test/gc_test_base.py
--- a/rpython/memory/test/gc_test_base.py
+++ b/rpython/memory/test/gc_test_base.py
@@ -497,7 +497,7 @@
                         else:
                             a.count = 666  # not ok
                     else:
-                        if b.ref() is self:
+                        if b.ref() is b:
                             a.count += 10  # ok
                         else:
                             a.count = 666  # not ok


More information about the pypy-commit mailing list