This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael.foord
Recipients brian.curtin, ev, michael.foord
Date 2011-03-15.16:15:29
SpamBayes Score 1.156015e-05
Marked as misclassified No
Message-id <1300205729.94.0.158605408338.issue11503@psf.upfronthosting.co.za>
In-reply-to
Content
Note that instead of try finally constructs you can create a cleanup function and call self.addCleanup(...). This reduces extra levels of indentation in your test code.

In the new code in "test_ismount", from "# Non-existent mountpoint" on, I would turn this into a new test. (Does os.symlink *always* exist - if it is platform dependent you should skip the test if it isn't available.)
History
Date User Action Args
2011-03-15 16:15:29michael.foordsetrecipients: + michael.foord, brian.curtin, ev
2011-03-15 16:15:29michael.foordsetmessageid: <1300205729.94.0.158605408338.issue11503@psf.upfronthosting.co.za>
2011-03-15 16:15:29michael.foordlinkissue11503 messages
2011-03-15 16:15:29michael.foordcreate