Skip to content

Commit

Permalink
fixed bug in exception testing, closes #292
Browse files Browse the repository at this point in the history
  • Loading branch information
thusser committed Nov 11, 2023
1 parent 6a60b2b commit dab6680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def setup_function() -> None:

def test_log() -> None:
exc.MotionError()
# should contain MotionError and PyObsError
assert len(exc._local_exceptions) == 2
# should still be empty, since exception was not registered
assert len(exc._local_exceptions) == 0


def test_register() -> None:
Expand Down

0 comments on commit dab6680

Please sign in to comment.