diff --git a/src/ansys/dpf/core/result_info.py b/src/ansys/dpf/core/result_info.py index 2b3a396272c..254b05303f8 100644 --- a/src/ansys/dpf/core/result_info.py +++ b/src/ansys/dpf/core/result_info.py @@ -415,9 +415,7 @@ def available_qualifier_labels(self): Available with server's version starting at 5.0. """ coll_obj = collection.StringCollection( - collection=self._support_api.result_info_get_available_qualifier_labels_as_string_coll( - self - ), + collection=self._api.result_info_get_available_qualifier_labels_as_string_coll(self), server=self._server, ) return coll_obj.get_integral_entries() diff --git a/tests/test_resultinfo.py b/tests/test_resultinfo.py index 3c14f7d8d50..dede87d0ce6 100644 --- a/tests/test_resultinfo.py +++ b/tests/test_resultinfo.py @@ -4,7 +4,6 @@ from ansys.dpf.core import Model from conftest import SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_5_0 - if SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_5_0: mechanical = "mechanical" else: