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

Config with zope product #29

Closed icemac closed 3 years ago

icemac commented 3 years ago
icemac commented 3 years ago

Interestingly PyPy3 breaks locally with:

Error in test testISO8601 (DateTime.tests.test_datetime.DateTimeTests)
Traceback (most recent call last):
  File "/opt/local/lib/pypy37/lib-python/3/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/opt/local/lib/pypy37/lib-python/3/unittest/case.py", line 628, in run
    testMethod()
  File ".../DateTime/src/DateTime/tests/test_datetime.py", line 413, in testISO8601
    isoDt = DateTime('20020502T080000-400')
  File ".../DateTime/src/DateTime/DateTime.py", line 447, in __init__
    return self._parse_args(*args, **kw)
  File ".../DateTime/src/DateTime/DateTime.py", line 758, in _parse_args
    yr, mo, dy, hr, mn, sc, tz = self._parse(arg, datefmt)
  File ".../DateTime/src/DateTime/DateTime.py", line 998, in _parse
    raise SyntaxError(st)
DateTime.interfaces.SyntaxError: 20020502T080000-400
icemac commented 3 years ago

I couldn't look at the PyPy issue, Homebrew's PyPy is broken right now so I have no working interpreter.

Let's rely on GHA than, it has no problems there.