summaryrefslogtreecommitdiff
path: root/lib/python/qmk/tests/test_qmk_errors.py
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2019-08-21 23:46:51 -0700
committerFlorian Didron <fdidron@users.noreply.github.com>2019-10-01 10:21:12 +0900
commitb198661d188ab25e66fcbc4bc6097a03bafabc2a (patch)
tree803320471cfcfa98e95bf4ed09798fc3c921b550 /lib/python/qmk/tests/test_qmk_errors.py
parentb4dc878501d1c82437d507c70bed97add9a98adb (diff)
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.py3
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 3f6b567137..1d8690b7ef 100644
--- a/lib/python/qmk/tests/test_qmk_errors.py
+++ b/lib/python/qmk/tests/test_qmk_errors.py
@@ -1,7 +1,8 @@
from qmk.errors import NoSuchKeyboardError
+
def test_NoSuchKeyboardError():
try:
- raise(NoSuchKeyboardError("test message"))
+ raise NoSuchKeyboardError("test message")
except NoSuchKeyboardError as e:
assert e.message == 'test message'