Summary: | dev-python/pytz-2020.1-r1 fails tests with sys-libs/timezone-data-2020b and slim bloats | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Louis Sautier (sbraz) <sbraz> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/stub42/pytz/issues/48 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 749591 | ||
Attachments: | build.log |
old version removed. |
Created attachment 666071 [details] build.log For instance: FAIL: testTwoHoursAfter (test_tzinfo.WarsawWMTEndTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pytz-2020.1-r1/work/pytz-2020.1/pytz/tests/test_tzinfo.py", line 347, in testTwoHoursAfter self.transition_time + timedelta(hours=1), self.after File "/var/tmp/portage/dev-python/pytz-2020.1-r1/work/pytz-2020.1/pytz/tests/test_tzinfo.py", line 306, in _test_all self._test_utcoffset(utc_dt, wanted) File "/var/tmp/portage/dev-python/pytz-2020.1-r1/work/pytz-2020.1/pytz/tests/test_tzinfo.py", line 270, in _test_utcoffset utcoffset, utc_dt, dt.utcoffset() AssertionError: datetime.timedelta(0) != datetime.timedelta(0, 3600) : Expected 1:00:00 as utcoffset for 1915-08-04 23:36:00+00:00. Got 0:00:00