forked from flask-restful/flask-restful
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
37 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
8c0fe81
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.
What was your motivation for removing
pytz
? I've been using it in tests and it works fine.8c0fe81
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.
In this test suite we define a class called
UTC
, use it in just two tests and then usepytz
in all the other tests. I thought I'll just get rid ofpytz
and useUTC
everywhere else, too. Of course as another option we could remove theUTC
class and usepytz.UTC
eveywhere.8c0fe81
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.
other sections of the
inputs
module still requirepytz
(_normalize_interval
). since it's already installed/required, we might as well use it.8c0fe81
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.
Yes, that's understandable. My intent was to remove
pytz
only from tests.