1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

changed catching all errors to just asserts

This commit is contained in:
Joel Bender 2018-06-26 10:34:06 -04:00
parent 16892d3714
commit 0d8d0fefd6

View File

@ -290,7 +290,7 @@ class TestStateMachine(unittest.TestCase):
def fn():
self._called = True
raise RuntimeError("error")
raise AssertionError("error")
# create a trapped state machine
tsm = TrappedStateMachine()