Skip to content

Commit

Permalink
test: disable
Browse files Browse the repository at this point in the history
  • Loading branch information
mkundu1 committed Mar 5, 2024
1 parent 99d322a commit 752834c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/test_settings_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,17 +215,17 @@ def test_deprecated_settings(new_solver_session):
with pytest.warns(DeprecatedSettingWarning):
solver.results.gr.contour.create("c1")

assert solver.results.graphics.contour["c1"]
# disabling due to ansys/pyfluent#2526

with pytest.warns(DeprecatedSettingWarning):
solver.results.gr.contour["c1"].field = "pressure"
# with pytest.warns(DeprecatedSettingWarning):
# solver.results.gr.contour["c1"].field = "pressure"

assert solver.results.graphics.contour["c1"].field() == "pressure"
# assert solver.results.graphics.contour["c1"].field() == "pressure"

with pytest.warns(DeprecatedSettingWarning):
del solver.results.gr.contour["c1"]
# with pytest.warns(DeprecatedSettingWarning):
# del solver.results.gr.contour["c1"]

assert "c1" not in solver.results.graphics.contour
# assert "c1" not in solver.results.graphics.contour

solver.setup.boundary_conditions.velocity_inlet[
"hot-inlet"
Expand Down

0 comments on commit 752834c

Please sign in to comment.