Tests: fix some tests passing even if there are Python errors

Blender was not configured to exit with non-zero return code on Python errors.
A bunch of tests worked around this but not all. This removes the need for such
workarounds.
This commit is contained in:
2020-04-27 17:43:47 +02:00
parent a7bd835644
commit 6cab53eaaa
17 changed files with 19 additions and 123 deletions

View File

@@ -375,12 +375,4 @@ def main():
if __name__ == "__main__":
import traceback
# So a python error exits Blender itself too
try:
main()
except SystemExit:
raise
except:
traceback.print_exc()
sys.exit(1)
main()