Skip to content

Commit

Permalink
Check print
Browse files Browse the repository at this point in the history
  • Loading branch information
calum-chamberlain committed Dec 7, 2023
1 parent 8132747 commit d24c9b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eqcorrscan/core/match_filter/helpers/processes.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ def __init__(self, value):
self.value = value

def __repr__(self):
"""
>>> Poison(Exception('alf'))
Poison(Exception('alf'))
"""
return f"Poison({self.value.__repr__()})"

def __str__(self):
"""
>>> print(Poison(Exception('alf')))
Poison(Exception('alf'))
"""
return self.__repr__()


Expand Down

0 comments on commit d24c9b3

Please sign in to comment.