Skip to content

Commit

Permalink
Avoid annoying SystemExit breaks in vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
avakar committed Oct 28, 2018
1 parent 09b300a commit 056ef47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,6 @@ def _main():
return 1 if failed or not succeeded else 0

if __name__ == '__main__':
sys.exit(_main())
r = _main()
if r:
sys.exit(r)

0 comments on commit 056ef47

Please sign in to comment.