[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path
André Fritzsche
report at bugs.python.org
Mon Feb 11 06:50:43 CET 2008
André Fritzsche added the comment:
Raghuram, you've been too fast ;-)
Your test matches the problem. I don't know if it happens on Linux, but
on my Win32 Installation the test 'test_destinsrc_2' fails with an
AssertionError 'destinsrc() wrongly concluded that dst
(@test\srcdir.new) is in src (@test\srcdir)'.
Using the submitted patch everything comes out with 'Ok'.
I've appended the failing test output.
Added file: http://bugs.python.org/file9404/test_shutil_orig.txt
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2047>
__________________________________
More information about the Python-bugs-list
mailing list