diff --git a/tests/test_settings_api.py b/tests/test_settings_api.py index f947164b0c6..9d55887c9a2 100644 --- a/tests/test_settings_api.py +++ b/tests/test_settings_api.py @@ -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"