diff --git a/tests/test_mapdl.py b/tests/test_mapdl.py index 6ed895a669..c3d781dc66 100644 --- a/tests/test_mapdl.py +++ b/tests/test_mapdl.py @@ -1315,7 +1315,7 @@ def test_tbft(mapdl, cleared, tmpdir, option2, option3, option4): output = mapdl.tbft("EADD", mat_id, "UNIA", option2, option3, option4, "", "", "") assert "Successfully Constructed Material Model" in output - with pytest.warns(UserWarning, match="Cannot create another with the same name"): + with pytest.warns(UserWarning): # checking warning if overwriting mapdl.tbft("FADD", mat_id, "HYPER", "MOONEY", "3")