]> granicus.if.org Git - python/commit
Disable gc when running test_trace, or we may record the __del__ of collected objects.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 24 Apr 2008 20:10:26 +0000 (20:10 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 24 Apr 2008 20:10:26 +0000 (20:10 +0000)
commit48ebc264f8a92824f3872049a581f0e45d1a5009
tree87db92c58b3d5ef5aec16bcff37ff5dd95d133de
parentbf027c48c8547f262f5ef5981c3ae44273ae249d
Disable gc when running test_trace, or we may record the __del__ of collected objects.

See http://mail.python.org/pipermail/python-checkins/2008-April/068633.html
the extra events perfectly match several calls to socket._fileobject.__del__()
Lib/test/test_trace.py