Revert "fix tests"

This reverts commit f013668ed7.
This commit is contained in:
hjoaquim
2023-02-07 17:44:53 +00:00
parent f013668ed7
commit b49e633da8
3 changed files with 3133 additions and 2704 deletions

View File

@@ -1335,8 +1335,6 @@ def ask_file_overwrite(file_path: str) -> Tuple[bool, bool]:
# Jeroen asked for a flag to overwrite no matter what
if obbff.FILE_OVERWITE:
return False, True
if os.environ.get("TEST_MODE") == "True":
return False, True
if os.path.exists(file_path):
overwrite = input("\nFile already exists. Overwrite? [y/n]: ").lower()
if overwrite == "y":