[issue9999] test_shutil cross-file-system tests are fragile (may not test what they purport to test)
Éric Araujo
report at bugs.python.org
Fri Aug 12 18:08:20 CEST 2011
Éric Araujo <merwok at netwok.org> added the comment:
> Unfortunately I don't currently have a suggestion for how to reliably
> create a cross-file-system link for testing purposes.
We could try walking a list of common mount points (/run, /dev, /tmp, /home, etc.), compiled from as many OSes as possible, and filter it with os.path.ismount to see if we have more than one partition.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9999>
_______________________________________
More information about the Python-bugs-list
mailing list