Repository navigation
Removed exceptions from == and != for Time - #2114
Conversation
There was a problem hiding this comment.
Perhaps these two tests could be more explicit in terms of the actual output object type:
assert (t1 == None) is False
assert (t1 != None) is True
|
Apart from the one comment this looks great. The Travis failure appears to be a random unrelated failure. |
|
@AmrAS1 - there is a merge conflict now and your branch needs to be rebased. I just did this and the merge conflict is straightforward to resolve. If you aren't familiar with rebasing I can walk you through the steps, which will look like roughly like: |
|
Oops, I must have missed that. I'll add another commit. |
There was a problem hiding this comment.
@AmrAS1 - trivial change, but since time differences are not necessarily in TAI anymore, could you also replace TAI -> time here (and same in __ne__ below)?
|
@AmrAS1 - I also had a quick look and apart from the small comment about the docstring, this looks ready to go in. |
|
The Travis fail is unrelated, merging. Thanks @AmrAS1! |
Removed exceptions from == and != for Time
|
No problem! |
Implemented the suggestion in issue #2082.