diff --git a/jwst/tests/helpers.py b/jwst/tests/helpers.py index 9e1b424571..960bd861a5 100644 --- a/jwst/tests/helpers.py +++ b/jwst/tests/helpers.py @@ -93,18 +93,15 @@ def __call__(self, *args): @property def message(self): + """ + str: The message to watch for. + + When the message is set, the `seen` flag is set to False. + """ return self._message @message.setter def message(self, new_message): - """ - When message is set, clear the `seen` flag. - - Parameters - ---------- - new_message : str - New value for the `message` property. - """ self.seen = False self._message = new_message