diff options
author | skullY <skullydazed@gmail.com> | 2019-08-21 23:46:51 -0700 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-09-07 07:58:41 -0700 |
commit | c7eede2249d22dd4fabed83043dcf4cc7408cf27 (patch) | |
tree | 75b83e042ba618f47f47a852680928271e9d906b /lib/python/qmk/tests/test_qmk_errors.py | |
parent | 5b7a5b2a7629fbb667d23a55836dce3c6c46a203 (diff) | |
download | qmk_firmware-c7eede2249d22dd4fabed83043dcf4cc7408cf27.tar.gz qmk_firmware-c7eede2249d22dd4fabed83043dcf4cc7408cf27.zip |
run yapf on the code
Diffstat (limited to 'lib/python/qmk/tests/test_qmk_errors.py')
-rw-r--r-- | lib/python/qmk/tests/test_qmk_errors.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/qmk/tests/test_qmk_errors.py b/lib/python/qmk/tests/test_qmk_errors.py index 3f6b56713..1d8690b7e 100644 --- a/lib/python/qmk/tests/test_qmk_errors.py +++ b/lib/python/qmk/tests/test_qmk_errors.py | |||
@@ -1,7 +1,8 @@ | |||
1 | from qmk.errors import NoSuchKeyboardError | 1 | from qmk.errors import NoSuchKeyboardError |
2 | 2 | ||
3 | |||
3 | def test_NoSuchKeyboardError(): | 4 | def test_NoSuchKeyboardError(): |
4 | try: | 5 | try: |
5 | raise(NoSuchKeyboardError("test message")) | 6 | raise NoSuchKeyboardError("test message") |
6 | except NoSuchKeyboardError as e: | 7 | except NoSuchKeyboardError as e: |
7 | assert e.message == 'test message' | 8 | assert e.message == 'test message' |