Author: Manuel Jacob
Branch: py3k
Changeset: r61368:33195eac3e1c
Date: 2013-02-16 19:14 +0100
http://bitbucket.org/pypy/pypy/changeset/33195eac3e1c/
Log: Add another gc.collect() in test_tempfile.
diff --git a/lib-python/3.2/test/test_tempfile.py
b/lib-python/3.2/test/test_tempfile.py
--- a/lib-python/3.2/test/test_tempfile.py
+++ b/lib-python/3.2/test/test_tempfile.py
@@ -1016,6 +1016,7 @@
"TemporaryDirectory %s exists after cleanup" %
d1.name)
self.assertTrue(os.path.exists(d2.name),
"Directory pointed to by a symlink was deleted")
+ support.gc_collect()
self.assertEqual(os.listdir(d2.name), ['test.txt'],
"Contents of the directory pointed to by a symlink "
"were deleted")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit