Skip to content

Commit 85f58b4

Browse files
committedMar 4, 2024
need to unlink the original file
1 parent 4c8c3a0 commit 85f58b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎test/tests/builder_tests.py

+3
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,9 @@ def test_src_urls(self):
291291
self._quick_test(config, build=False, finalize=False)
292292
self.assertEqual(orig_time, expected_path.stat().st_mtime)
293293

294+
if expected_path.exists():
295+
expected_path.unlink()
296+
294297
# Here it should be updated. We're playing a weird trick here though,
295298
# by pointing to a completely different url.
296299
config = copy.deepcopy(config)

0 commit comments

Comments
 (0)