From 60b6b47e9af6a4a163f88eb84ef1f3ae82e2d015 Mon Sep 17 00:00:00 2001 From: Michael Denker Date: Tue, 17 Oct 2023 13:03:32 +0200 Subject: [PATCH 1/2] Update elephant/test/test_current_source_density.py Co-authored-by: Alexander Kleinjohann <33096371+Kleinjohann@users.noreply.github.com> --- elephant/test/test_current_source_density.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elephant/test/test_current_source_density.py b/elephant/test/test_current_source_density.py index 73873c4dd..d6fe06d84 100644 --- a/elephant/test/test_current_source_density.py +++ b/elephant/test/test_current_source_density.py @@ -166,7 +166,7 @@ def test_generate_lfp_one_dimensional_array(self): Regression test for Issue #546, see: https://github.com/NeuralEnsemble/elephant/issues/546 """ - # this should raise an error + # this should raise NOT an error generate_lfp(utils.gauss_1d_dipole, self.one_dimensional) def test_generate_lfp_two_dimensional_array(self): From ade17e8b885018dddd0ea2983ef275a83123cad0 Mon Sep 17 00:00:00 2001 From: Michael Denker Date: Tue, 17 Oct 2023 13:03:44 +0200 Subject: [PATCH 2/2] Update elephant/test/test_current_source_density.py Co-authored-by: Alexander Kleinjohann <33096371+Kleinjohann@users.noreply.github.com> --- elephant/test/test_current_source_density.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elephant/test/test_current_source_density.py b/elephant/test/test_current_source_density.py index d6fe06d84..b17ba3f89 100644 --- a/elephant/test/test_current_source_density.py +++ b/elephant/test/test_current_source_density.py @@ -174,7 +174,7 @@ def test_generate_lfp_two_dimensional_array(self): Regression test for Issue #546, see: https://github.com/NeuralEnsemble/elephant/issues/546 """ - # this should raise an error + # this should NOT raise an error generate_lfp(utils.gauss_1d_dipole, self.two_dimensional)