Francisco Martín Brugué added the comment:
Just feedback on windows7. I tried the tests inside IDLE and done 'Run Module'
(F5) (deleting the directories between tests):
test_A:
import os, shutil
os.makedirs('foo')
os.makedirs('bar/boo')
shutil.move('foo/', 'bar/')
test_B:
import os, shutil
o
New submission from Serhiy Storchaka:
Perhaps following code fails on Windows (while successes on Linux):
import os, shutil
os.makedirs('foo')
os.makedirs('bar/boo')
shutil.move('foo/', 'bar/')
However shutil.move('foo', 'bar/') and shutil.move('foo\\', 'bar/') should work.
--
compone