Skip to content

Commit a076b68

Browse files
committed
Remove unnecessary pylint exception in ComponentGraph instantiation
Signed-off-by: Sahas Subramanian <[email protected]>
1 parent a713f87 commit a076b68

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/microgrid/test_grid.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ async def test_grid_2(mocker: MockerFixture) -> None:
3636
components = {grid_1, meter_2}
3737
connections = {ComponentConnection(source=grid_1.id, destination=meter_2.id)}
3838

39-
graph = gr.ComponentGraph[
40-
Component, ComponentConnection, ComponentId
41-
]( # pylint: disable=protected-access
39+
graph = gr.ComponentGraph[Component, ComponentConnection, ComponentId](
4240
components=components, connections=connections
4341
)
4442

0 commit comments

Comments
 (0)