You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that when using with pytest.raises(...) as e, e contains an ExceptionInfo object, not the exception itself. This test should be corrected.
The text was updated successfully, but these errors were encountered:
rotu
changed the title
misuse of pytest API in test_parse_message_file
misuse of pytest API in tests:
Jul 24, 2019
This error is showing up in CI:
https://ci.ros2.org/job/ci_linux/7643/testReport/rosidl_adapter.test/test_parse_message_string/test_parse_message_string/
thrown here:
rosidl/rosidl_adapter/test/test_parse_message_file.py
Lines 40 to 42 in b7d12f5
and a similar failure https://ci.ros2.org/job/ci_linux/7643/testReport/rosidl_adapter.test/test_parse_message_string/test_parse_message_string/ thrown here:
rosidl/rosidl_adapter/test/test_parse_message_string.py
Lines 71 to 73 in b7d12f5
The issue is that when using
with pytest.raises(...) as e
, e contains anExceptionInfo
object, not the exception itself. This test should be corrected.The text was updated successfully, but these errors were encountered: