diff --git a/tests/run_replay_tests.py b/tests/run_replay_tests.py index 3822a02122..b7425a64ab 100644 --- a/tests/run_replay_tests.py +++ b/tests/run_replay_tests.py @@ -720,7 +720,7 @@ def on_result_updated(w: ReplayResultUpdatedHandler): # .zplay files are updated in-place, but lets also copy over to the test output folder. # This makes it easy to upload an archive of updated replays in CI. if mode == 'update' and watcher.result['changed']: - (test_results_dir / 'updated').mkdir(exists_ok=True) + (test_results_dir / 'updated').mkdir(exist_ok=True) shutil.copy2(replay_file, test_results_dir / 'updated' / replay_file.name) break except ReplayTimeoutException: