1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2025-12-18 20:10:26 +01:00

Fixed tests for wrapper modules

Exchanged os.rename with shutil.move since there was a problem with
moving files between different filesystems.
This commit is contained in:
2017-01-03 06:01:26 +01:00
parent db7b8e347a
commit 1d35436dee
5 changed files with 29 additions and 6 deletions

View File

@@ -97,7 +97,7 @@ class Archive(base.Base):
if not utils.create_archive(arch, title):
return False
os.rename(arch, self.arch_filepath)
shutil.move(arch, self.arch_filepath)
os.chdir(curdir)
return True