Skip to content

Commit

Permalink
Fix a flake8 warning in ament_mypy. (#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]>
  • Loading branch information
clalancette authored Jan 26, 2024
1 parent 384ed02 commit a20c943
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 a20c943

Please sign in to comment.