-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It was easy to make those tests a bit easier to read, so I did. Also removed a switch based on the Python version, because we only support Python 3 anyway.
- Loading branch information
1 parent
cc46c8e
commit ec6192a
Showing
1 changed file
with
15 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ec6192a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a public library. If we keep compatibility with Python 2, perhaps more people will find it useful.
ec6192a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a stab at running the tests with Python 2, and failed. Just tried again a bit more vigorously, and while another version of
freezegun
gets us past the install stage, the code at the moment isn't Python 2 compatible (e.g.super()
calls).ec6192a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I must have told @metamatik it wasn't needed back then. I just assumed it was compatible because of this reference to six. Leave it there.