diff options
Diffstat (limited to 'tests/python')
-rw-r--r-- | tests/python/bl_blendfile_liblink.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/bl_blendfile_liblink.py b/tests/python/bl_blendfile_liblink.py index 08237f71673..760a1a15959 100644 --- a/tests/python/bl_blendfile_liblink.py +++ b/tests/python/bl_blendfile_liblink.py @@ -424,7 +424,7 @@ class TestBlendLibLibraryRelocate(TestBlendLibLinkHelper): lib_path, lib_ext = os.path.splitext(output_lib_path) new_lib_path = lib_path + "_relocate" + lib_ext - os.rename(output_lib_path, new_lib_path) + os.replace(output_lib_path, new_lib_path) bpy.ops.wm.lib_relocate(library=bpy.data.objects[0].name, directory="", filename=new_lib_path) |