[issue9993] shutil.move fails on symlink source
Hynek Schlawack
report at bugs.python.org
Thu Jan 5 22:53:38 CET 2012
Hynek Schlawack <hs at ox.cx> added the comment:
I took the liberty to fix the tests.
Basically I've adapted them to the new mock based cross file system approach (that doesn't depend on luck anymore :)).
I also had to add one more `os.path.realpath` because on some OS (like OS X) the tmp directory path already consists of symlinks.
I didn't touch the actual code.
Tested on OS X and Ubuntu Linux (Oneiric).
----------
Added file: http://bugs.python.org/file24146/shutil_move_symlinks.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9993>
_______________________________________
More information about the Python-bugs-list
mailing list