Skip to content

Commit 040f332

Browse files
author
Travis-L-R
committed
Updating test for change of deprecation exception
1 parent f3f17a7 commit 040f332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshtastic/tests/test_stream_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_StreamInterface():
1515
"""Test that we cannot instantiate a StreamInterface based on noProto"""
1616
with pytest.raises(Exception) as pytest_wrapped_e:
1717
StreamInterface()
18-
assert pytest_wrapped_e.type == Exception
18+
assert pytest_wrapped_e.type == RuntimeError
1919

2020

2121
# Note: This takes a bit, so moving from unit to slow

0 commit comments

Comments
 (0)