[merge] call tearDown inside addSkipped()
John Arbash Meinel
john at arbash-meinel.com
Thu Jun 29 22:37:46 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Right now the test suite doesn't call tearDown() for a test which is
skipped. For whatever reason, without calling tearDown() the final
rmtree() fails on win32. I assume our TestCaseInTempDir is holding
something open in the final output dir.
I know you wouldn't get the final os.chdir()
But it might also have something to do with HOME, or something else. I
can't say for sure, because it doesn't matter if the test is the last
one or not. If you have 2 skips, and then 2 successful completions, the
skipped directories still fail to clean up.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the bazaar