From 040f332078085fc04710c63d67388fc0c7f07293 Mon Sep 17 00:00:00 2001 From: Travis-L-R <> Date: Tue, 11 Nov 2025 19:14:42 +1030 Subject: [PATCH] Updating test for change of deprecation exception --- meshtastic/tests/test_stream_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/tests/test_stream_interface.py b/meshtastic/tests/test_stream_interface.py index 3411ffb..1e1d5e3 100644 --- a/meshtastic/tests/test_stream_interface.py +++ b/meshtastic/tests/test_stream_interface.py @@ -15,7 +15,7 @@ def test_StreamInterface(): """Test that we cannot instantiate a StreamInterface based on noProto""" with pytest.raises(Exception) as pytest_wrapped_e: StreamInterface() - assert pytest_wrapped_e.type == Exception + assert pytest_wrapped_e.type == RuntimeError # Note: This takes a bit, so moving from unit to slow