You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
======================================================================
ERROR: test_date_time_this_period (faker.tests.FactoryTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "faker/tests/__init__.py", line 389, in test_date_time_this_period
self.assertTrue(self._datetime_to_time(provider.date_time_this_century(before_now=False, after_now=True)) >= self._datetime_to_time(datetime.datetime.now()))
File "faker/providers/date_time/__init__.py", line 403, in date_time_this_century
return cls.date_time_between_dates(now, next_century_start, tzinfo)
File "faker/providers/date_time/__init__.py", line 381, in date_time_between_dates
datetime_to_timestamp(datetime_end),
File "faker/providers/date_time/__init__.py", line 22, in datetime_to_timestamp
return mktime(dt.timetuple())
OverflowError: mktime argument out of range
======================================================================
ERROR: test_date_time_this_period_with_tzinfo (faker.tests.FactoryTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "faker/tests/__init__.py", line 418, in test_date_time_this_period_with_tzinfo
provider.date_time_this_century(before_now=False, after_now=True, tzinfo=utc) >= datetime.datetime.now()
File "faker/providers/date_time/__init__.py", line 403, in date_time_this_century
return cls.date_time_between_dates(now, next_century_start, tzinfo)
File "faker/providers/date_time/__init__.py", line 381, in date_time_between_dates
datetime_to_timestamp(datetime_end),
File "faker/providers/date_time/__init__.py", line 21, in datetime_to_timestamp
dt = dt.astimezone(tzlocal())
File "/usr/lib/python2.7/dist-packages/dateutil/tz/tz.py", line 99, in utcoffset
if self._isdst(dt):
File "/usr/lib/python2.7/dist-packages/dateutil/tz/tz.py", line 143, in _isdst
return time.localtime(timestamp+time.timezone).tm_isdst
ValueError: timestamp out of range for platform time_t
The text was updated successfully, but these errors were encountered:
Such as i386.
See https://bugs.debian.org/849652
The text was updated successfully, but these errors were encountered: