]> granicus.if.org Git - python/commit
Re-enable tests, they were failing since gc.collect() clears the various freelists.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 15 Feb 2008 22:44:20 +0000 (22:44 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 15 Feb 2008 22:44:20 +0000 (22:44 +0000)
commitd8bcbf2b2ecca3cf168718d50dc46ba5775b0bc9
tree589edc7b5f997ab5e285255aa6e36bc947a02efd
parentf05fa33a6c42bc21ffdfe7a20226a2b9a83ac3c2
Re-enable tests, they were failing since gc.collect() clears the various freelists.
They still remain fragile.

For example, a call to assertEqual currently does not make any allocation
(which surprised me at first).
But this can change when gc.collect also deletes the numerous "zombie frames"
attached to each function.
Lib/test/test_gc.py