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 jniehof
Recipients jniehof, r.david.murray, tarek
Date 2010-09-30.17:01:57
SpamBayes Score 0.0021367643
Marked as misclassified No
Message-id <1285866119.56.0.00897814598968.issue9999@psf.upfronthosting.co.za>
In-reply-to
Content
Might it make sense to skip-decorate those tests which require cross-filesystem? Put a test above the TestMove definition which compares tempfile.gettempdir() and os.path.dirname(__file__).

I don't know of an out-of-the-box function to see if two paths are on the same filesystem; I suppose one approach would be to walk up the directory tree of each, checking ismount. (Looks like somebody's tried it: http://stackoverflow.com/questions/1138383/python-get-mount-point-on-windows-or-linux)
History
Date User Action Args
2010-09-30 17:01:59jniehofsetrecipients: + jniehof, tarek, r.david.murray
2010-09-30 17:01:59jniehofsetmessageid: <1285866119.56.0.00897814598968.issue9999@psf.upfronthosting.co.za>
2010-09-30 17:01:58jniehoflinkissue9999 messages
2010-09-30 17:01:57jniehofcreate