Skip to content

Commit

Permalink
Fix a flake8 warning in ament_mypy. (ament#470)
Browse files Browse the repository at this point in the history
No need for parentheses around an assert.

Signed-off-by: Chris Lalancette <[email protected]>
Signed-off-by: WU MENGHUNG <[email protected]>
  • Loading branch information
clalancette authored and wuisky committed Feb 7, 2024
1 parent 71ed903 commit 0275c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ament_mypy/test/test_ament_mypy.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,4 @@ def test__get_xunit_content(mocker, sample_errors):
[err.group('filename') for err in errors], .01)
root = ET.fromstring(xml)
assert root.get('failures') == '0'
assert(len(root)) == 2
assert len(root) == 2

0 comments on commit 0275c61

Please sign in to comment.