tests: Convert remaining "sys.exit()" to "raise SystemExit".

This commit is contained in:
Paul Sokolovsky
2017-06-10 20:14:16 +03:00
parent a2803b74f4
commit 85d809d1f4
88 changed files with 107 additions and 188 deletions

View File

@@ -6,7 +6,7 @@ try:
import io
except ImportError:
print("SKIP")
sys.exit()
raise SystemExit
if hasattr(sys, 'print_exception'):
print_exception = sys.print_exception