diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-06-10 20:14:16 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-06-10 20:34:38 +0300 |
commit | 85d809d1f4e35a511e0a56b3411126e05a31c01b (patch) | |
tree | 8debfecd0a6b83b6ba3d7e087058eec39a7b3c79 /tests/pyb/dac.py | |
parent | a2803b74f48849cb3a11fb492fee891044ecc1f4 (diff) |
tests: Convert remaining "sys.exit()" to "raise SystemExit".
Diffstat (limited to 'tests/pyb/dac.py')
-rw-r--r-- | tests/pyb/dac.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pyb/dac.py b/tests/pyb/dac.py index 942f30354..6f03bbc64 100644 --- a/tests/pyb/dac.py +++ b/tests/pyb/dac.py @@ -2,8 +2,7 @@ import pyb if not hasattr(pyb, 'DAC'): print('SKIP') - import sys - sys.exit() + raise SystemExit dac = pyb.DAC(1) print(dac) |