[Python-checkins] r81225 - in python/branches/release26-maint: Lib/test/list_tests.py
Victor Stinner
victor.stinner at haypocalc.com
Sun May 16 23:00:39 CEST 2010
Le dimanche 16 mai 2010 21:59:24, Brett Cannon a écrit :
> Probably shouldn't backport stuff like this as it isn't a bug fix but
> a code cleanup. And this is especially true of tests as the last thing
> we want to do is break our verification that we didn't break anything.
I don't know if it can be called "a bug". As I wrote in my changelog: "fo is
not set if the open() fails" and so fo.close() will raise a NameError in the
finally block. I had the bug in 3.1 branch after the commit r81171.
In 3.1 branch: r81173 reverts r81171, and r81175 fix another bug related to
TESTFN ("remove TESTFN if it is a directory").
trunk and py3k add the pid to TESTFN.
--
Victor Stinner
http://www.haypocalc.com/
More information about the Python-checkins
mailing list