Skip to content

Commit

Permalink
[CI] Bypass pytest.mark.filterwarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl authored and speth committed Aug 7, 2024
1 parent faed2f8 commit 3196d5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/python/test_onedim.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3196d5e

Please sign in to comment.