From 3196d5ef8f6b6387cdf3c096284a99c57af46355 Mon Sep 17 00:00:00 2001 From: Ingmar Schoegl Date: Wed, 7 Aug 2024 07:00:47 -0500 Subject: [PATCH] [CI] Bypass pytest.mark.filterwarnings --- test/python/test_onedim.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/python/test_onedim.py b/test/python/test_onedim.py index cb0bd46572..851421adbc 100644 --- a/test/python/test_onedim.py +++ b/test/python/test_onedim.py @@ -660,7 +660,9 @@ def run_fixed_restore(self, mode): self.sim.solve(loglevel=0) - @pytest.mark.filterwarnings("ignore:.*reaction_phase_index.*:DeprecationWarning") + # @pytest.mark.filterwarnings("ignore:.*reaction_phase_index.*:DeprecationWarning") + # TODO: remove fixture after Cantera 3.1; @pytest.mark.filterwarnings does not work + @pytest.mark.usefixtures("allow_deprecated") # to ignore reaction_phase_index def test_array_properties(self): self.create_sim(ct.one_atm, 300, 'H2:1.1, O2:1, AR:5') grid_shape = self.sim.grid.shape