From a20c94353c95729063ff4b5dfc2f87a766dfe969 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Fri, 26 Jan 2024 10:54:18 -0500 Subject: [PATCH] Fix a flake8 warning in ament_mypy. (#470) No need for parentheses around an assert. Signed-off-by: Chris Lalancette --- ament_mypy/test/test_ament_mypy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ament_mypy/test/test_ament_mypy.py b/ament_mypy/test/test_ament_mypy.py index a47730e9..8659003d 100644 --- a/ament_mypy/test/test_ament_mypy.py +++ b/ament_mypy/test/test_ament_mypy.py @@ -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