Blender Git Commit Log

Git Commits -> Revision d3328fa

Revision d3328fa by Bastien Montagne (master)
November 4, 2021, 14:06 (GMT)
Attempt to fix failing lib link test on windows.

According to https://docs.python.org/3/library/os.html#os.rename,
`os.rename` has os-specific behavior, and will fail in case you attempt
to rename to an existing file on windows.

So using `os.replace` instead, which should be os-agnostic.

NOTE: Fact that temp test directory is not cleared after tests are
sucessfully ran does not sound great...

Commit Details:

Full Hash: d3328fabc982279ce0922294b99201a61bb266fd
Parent Commit: 8eff1ec
Lines Changed: +1, -1

1 Modified Path:

/tests/python/bl_blendfile_liblink.py (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021