mirror of
https://github.com/JoelBender/bacpypes
synced 2025-10-05 22:18:16 +08:00
changed catching all errors to just asserts
This commit is contained in:
parent
16892d3714
commit
0d8d0fefd6
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user