Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749597 - dev-python/pytz-2020.1-r1 fails tests with sys-libs/timezone-data-2020b and slim bloats
Summary: dev-python/pytz-2020.1-r1 fails tests with sys-libs/timezone-data-2020b and s...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://github.com/stub42/pytz/issues/48
Whiteboard:
Keywords:
Depends on:
Blocks: zic-slim
  Show dependency tree
 
Reported: 2020-10-16 21:36 UTC by Louis Sautier (sbraz)
Modified: 2021-03-07 08:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,151.37 KB, text/x-log)
2020-10-16 21:36 UTC, Louis Sautier (sbraz)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Louis Sautier (sbraz) gentoo-dev 2020-10-16 21:36:44 UTC
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
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-03-07 08:10:59 UTC
old version removed.