missing definitions when fail to import pytz
kleinron opened this issue · comments
When fail to import pytz, there's a code the defines a class named UTC.
However, when running the tests, some of them fail, since an existing singleton is expected.
In addition, the redefined UTC class should be callable
Fixed with the changes to improve support for Python3 in fccde68, thanks for reporting.