Skip to content

Commit

Permalink
fix mock_pyplot issue
Browse files Browse the repository at this point in the history
  • Loading branch information
1kastner committed May 21, 2024
1 parent da9767c commit 309c991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conflowgen/tests/analyses/test_run_all_analyses.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_with_no_data(self):
run_all_analyses()
self.assertEqual(len(context.output), 35)

def test_with_no_data_as_graph(self, mock_pyplot):
def test_with_no_data_as_graph(self):
with unittest.mock.patch("matplotlib.pyplot.show"):
with self.assertLogs('conflowgen', level='INFO') as context:
print("Before run_all_analyses")
Expand Down

0 comments on commit 309c991

Please sign in to comment.