We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df3cf46 commit 1c56c0bCopy full SHA for 1c56c0b
tests/operators/test_gasket_deformation.py
@@ -20,13 +20,18 @@
20
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
# SOFTWARE.
22
23
-# Tests the result.gasket_deformation operator deprecation
+# Test the result.gasket_deformation operator deprecation
24
25
-from pytest import warns
+from pytest import mark, warns
26
27
import ansys.dpf.core as dpf
28
+import conftest
29
30
31
+@mark.skipif(
32
+ not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_9_0,
33
+ reason="Gasket operator available starting with 9.0,",
34
+)
35
def test_operator_gasket_deformation_deprecation(server_type):
36
with warns(match="Operator 'gasket_deformation' is renamed as"):
37
_ = dpf.operators.result.gasket_deformation()
0 commit comments