Updating test for change of deprecation exception

This commit is contained in:
Travis-L-R committed 2025-11-11 19:14:42 +10:30
1 parent f3f17a7d50
commit 040f332078
1 file changed
+1 -1
+1 -1
View File
@@ -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