[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-----
Hash: SHA1

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.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEpEgqJdeBCYSNAAMRAq3KAKCk2sGwSWi6YYTkslnAlcUxVUeikwCgx17F
MGZzqTwybHZA3Nt/fpbgq5o=
=vERk
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: call-tearDown.diff
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20060629/4c6820a5/attachment.diff 


More information about the bazaar mailing list