Skip to content

Commit 5a026b3

Browse files
fix(test): revert some failing changes (bis)
1 parent 6052034 commit 5a026b3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_any.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
import conftest
2626
from ansys.dpf import core as dpf
27-
from conftest import raises_for_servers_version_under
2827

2928

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

137136

138-
@raises_for_servers_version_under("10.0")
137+
@pytest.mark.skipif(
138+
not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0,
139+
reason="any does not support operator below 10.0",
140+
)
139141
def test_cast_operator_any(server_type):
140142
entity = dpf.Operator(server=server_type, name="U")
141143
any_dpf = dpf.Any.new_from(entity)

0 commit comments

Comments
 (0)