[pypy-svn] pypy fast-forward: Fix the last failure in test_array.py

amauryfa commits-noreply at bitbucket.org
Tue Jan 4 09:07:01 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: fast-forward
Changeset: r40371:ce89a1db5798
Date: 2011-01-04 08:29 +0100
http://bitbucket.org/pypy/pypy/changeset/ce89a1db5798/

Log:	Fix the last failure in test_array.py

diff --git a/lib-python/modified-2.7.0/test/test_array.py b/lib-python/modified-2.7.0/test/test_array.py
--- a/lib-python/modified-2.7.0/test/test_array.py
+++ b/lib-python/modified-2.7.0/test/test_array.py
@@ -769,6 +769,7 @@
         p = proxy(s)
         self.assertEqual(p.tostring(), s.tostring())
         s = None
+        test_support.gc_collect()
         self.assertRaises(ReferenceError, len, p)
 
     def test_bug_782369(self):


More information about the Pypy-commit mailing list