Skip to content

Commit

Permalink
Fix doctest for Specification.description. (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi committed Feb 21, 2023
1 parent a3ea75c commit e8cc270
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 @@ -298,7 +298,7 @@ def description(self) -> str:
>>> from ansys.dpf import core as dpf
>>> operator = dpf.operators.math.scale_by_field()
>>> operator.specification.description
"Scales a field (in 0) by a scalar field (in 1). If one field's ... the entire other field."
"Scales a field (in 0) by a scalar field (in 1). If one field's ..."
"""
if self._internal_obj is not None:
return self._api.operator_specification_get_description(self)
Expand Down

0 comments on commit e8cc270

Please sign in to comment.