zopefoundation / DateTime

This package provides a DateTime data type, as known from Zope. Unless you need to communicate with Zope APIs, you're probably better off using Python's built-in datetime module.
Other
19 stars 25 forks source link

Tests fail on Python 3.5 due to f-string usage #44

Closed dataflake closed 1 year ago

dataflake commented 1 year ago

https://github.com/zopefoundation/DateTime/blob/5dc49d904b9899e09e35bbf81ebe5b8b177004b6/src/DateTime/tests/test_datetime.py#L705-L707

The f-string tests must be skipped on Python 3.5, those were introduced with Python 3.6. Assigning @georgpfolz, he added those tests.

dataflake commented 1 year ago

I fixed this in e9060e19fbcf12a7bc91731256ade51fc1efff8c - you're excused, the tests never picked up the problem because tests against Python 2.7 and 3.5 (which run against Zope 4) had a broken buildout configuration.