diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2020-06-07 17:55:56 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2020-06-07 17:55:56 +0200 |
commit | 0f5f62769f01f18fa2e8c82fbc5cd26bdcf06f5a (patch) | |
tree | 20e2195bce6cee493d9d12e4ccc67661996f9f47 /wee_slack.py | |
parent | a41345d0999c791ecda1cad654a7450216284c4e (diff) | |
download | wee-slack-0f5f62769f01f18fa2e8c82fbc5cd26bdcf06f5a.tar.gz |
Fix broken tests on Python 2
The tests were broken in commit 855cf3c.
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index 5f7d5cb..a916ab8 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -2895,6 +2895,9 @@ class SlackTS(object): def __eq__(self, other): return self.__cmp__(other) == 0 + def __ne__(self, other): + return self.__cmp__(other) != 0 + def __ge__(self, other): return self.__cmp__(other) >= 0 |