Skip to content

Commit

Permalink
fix(test): revert some failing changes (bis)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo-Baussart-ANSYS committed Dec 6, 2024
1 parent 6052034 commit 5a026b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_any.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

import conftest
from ansys.dpf import core as dpf
from conftest import raises_for_servers_version_under


@conftest.raises_for_servers_version_under("7.0")
Expand Down Expand Up @@ -135,7 +134,10 @@ def test_cast_workflow_any(server_type):
assert new_entity.input_names == []


@raises_for_servers_version_under("10.0")
@pytest.mark.skipif(
not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0,
reason="any does not support operator below 10.0",
)
def test_cast_operator_any(server_type):
entity = dpf.Operator(server=server_type, name="U")
any_dpf = dpf.Any.new_from(entity)
Expand Down

0 comments on commit 5a026b3

Please sign in to comment.