Skip to content

Commit

Permalink
Refactor test_find_meshes to use pytest.LogCaptureFixture
Browse files Browse the repository at this point in the history
  • Loading branch information
joda9 committed Jul 24, 2024
1 parent 85bd5f1 commit 28fb71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/opf/test_powermodels_opf.py
Original file line number Diff line number Diff line change
@@ -338,7 +338,7 @@ def test_pm_optimize(self):
)
)

def test_find_meshes(self, caplog):
def test_find_meshes(self, caplog: pytest.LogCaptureFixture):
meshes = find_meshes(self.edisgo)
assert not meshes
self.edisgo.topology.add_line(

0 comments on commit 28fb71c

Please sign in to comment.