diff --git a/tests/app/test_cell_densities.py b/tests/app/test_cell_densities.py index 5fc793f..212999e 100644 --- a/tests/app/test_cell_densities.py +++ b/tests/app/test_cell_densities.py @@ -232,6 +232,7 @@ def _get_compile_measurements_result(runner): return runner.invoke(tested.app, args) +@pytest.mark.filterwarnings("ignore::atlas_densities.exceptions.AtlasDensitiesWarning") def test_compile_measurements(): runner = CliRunner() with runner.isolated_filesystem(): @@ -340,6 +341,7 @@ def _get_fitting_result(runner): return runner.invoke(tested.app, args) +@pytest.mark.filterwarnings("ignore::atlas_densities.exceptions.AtlasDensitiesWarning") def test_fit_average_densities(): runner = CliRunner() with runner.isolated_filesystem(): diff --git a/tests/densities/test_inhibitory_neuron_density_optimization.py b/tests/densities/test_inhibitory_neuron_density_optimization.py index 9347f6d..c7424a7 100644 --- a/tests/densities/test_inhibitory_neuron_density_optimization.py +++ b/tests/densities/test_inhibitory_neuron_density_optimization.py @@ -310,6 +310,7 @@ def get_initialization_data(): } +@pytest.mark.filterwarnings("ignore::atlas_densities.exceptions.AtlasDensitiesWarning") def test_create_inhibitory_neuron_densities(): data = get_initialization_data() densities = tested.create_inhibitory_neuron_densities(