mirror of
https://github.com/meshtastic/python.git
synced 2026-06-02 12:45:00 -04:00
Updating test for change of deprecation exception
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user