Author: Lars Wassermann <[email protected]>
Branch: 
Changeset: r387:ab85ac96fff8
Date: 2013-05-15 09:39 +0000
http://bitbucket.org/pypy/lang-smalltalk/changeset/ab85ac96fff8/

Log:    fix for tests when exectued on pypy

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
@@ -330,4 +330,7 @@
 
     assert weak_object.fetch(space, 0) is referenced
     del referenced
+    # When executed using pypy, del is not immediately executed.
+    # Thus the reference may linger until the next gc...
+    import gc; gc.collect()
     assert weak_object.fetch(space, 0) is space.w_nil
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to