From 0b7191b7f0ce748267b35e39cc44c4b2e8ca1d59 Mon Sep 17 00:00:00 2001 From: samadpls Date: Tue, 2 Apr 2024 15:40:47 +0500 Subject: [PATCH] Fix: Linting Issue Signed-off-by: samadpls --- hnn_core/tests/test_cell_response.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hnn_core/tests/test_cell_response.py b/hnn_core/tests/test_cell_response.py index 698813b2c0..06730dccdd 100644 --- a/hnn_core/tests/test_cell_response.py +++ b/hnn_core/tests/test_cell_response.py @@ -27,8 +27,8 @@ def test_cell_response(tmp_path): kwargs_hist = dict(alpha=0.25) fig = cell_response.plot_spikes_hist(show=False, **kwargs_hist) assert all(patch.get_alpha() == kwargs_hist['alpha'] - for patch in fig.axes[0].patches), \ - "Alpha value not applied to all patches" + for patch in fig.axes[0].patches + ), "Alpha value not applied to all patches" # Testing writing using txt files with pytest.warns(DeprecationWarning,