Commits

Manuel Jacob committed 33195ea

Add another gc.collect() in test_tempfile.

Comments (0)

Files changed (1)

lib-python/3.2/test/test_tempfile.py

                          "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")