diff --git a/tests/mypy_plugins/test_enum_identity_compare.py b/tests/mypy_plugins/test_enum_identity_compare.py index c3a84f8c6272..f0b04ec50cd1 100644 --- a/tests/mypy_plugins/test_enum_identity_compare.py +++ b/tests/mypy_plugins/test_enum_identity_compare.py @@ -416,10 +416,10 @@ def mypy_errors(tmp_path_factory: pytest.TempPathFactory) -> dict[str, list[str] for case in (*_PLAIN_ENUM_CASES, *_NO_FLAG_CASES) }, **{case.id: case.values[0] for case in _FRAMEWORK_CASES}, - } - assert len(sources) == len(_PLAIN_ENUM_CASES) + len(_NO_FLAG_CASES) + len( - _FRAMEWORK_CASES - ), "Duplicate pytest.param id across case tables" + } + assert len(sources) == len(_PLAIN_ENUM_CASES) + len(_NO_FLAG_CASES) + len( + _FRAMEWORK_CASES + ), "Duplicate pytest.param id across case tables" case_id_by_module: dict[str, str] = {} paths: list[Path] = []