[issue12464] tempfile.TemporaryDirectory.cleanup follows symbolic links
Antoine Pitrou
report at bugs.python.org
Tue Jul 26 23:03:56 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
You can simply use support.skip_unless_symlink().
> Charles-François Natali <neologix at free.fr> added the comment:
>
> > If someone suggests how to test for the Windows version, I'll update
> > the patch, also to remove the issue reference from the code.
>
> Well, I don't know Windows, but there's platform.win32_ver()
> (http://docs.python.org/library/platform.html#platform.win32_ver) that
> could probably be useful.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12464>
_______________________________________
More information about the Python-bugs-list
mailing list