Skip to content

Commit

Permalink
Fix retro-compatibility for doctest in Specification.description. (#1850
Browse files Browse the repository at this point in the history
)

Signed-off-by: paul.profizi <paul.profizi@ansys.com>
  • Loading branch information
PProfizi authored Nov 4, 2024
1 parent c37f6a3 commit 39d25c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansys/dpf/core/operator_specification.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def description(self) -> str:
>>> from ansys.dpf import core as dpf
>>> operator = dpf.operators.math.scale()
>>> operator.specification.description
'Scales a field by a constant factor. This factor can be a scalar ...'
'Scales a field by a constant factor...'
"""
if self._internal_obj is not None:
return self._api.operator_specification_get_description(self)
Expand Down

0 comments on commit 39d25c8

Please sign in to comment.