Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 749597

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 packagesAssignee: 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

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.