bluekelp/pytimecop

test_epoch failure

Opened this issue · 1 comments

[   60s] ======================================================================
[   60s] FAIL: test_epoch (timecop.tests.test_freeze.TestFreeze)
[   60s] ----------------------------------------------------------------------
[   60s] Traceback (most recent call last):
[   60s]   File "/home/abuild/rpmbuild/BUILD/pytimecop-0.5.0dev/timecop/tests/test_freeze.py", line 28, in test_epoch
[   60s]     self.assertEqual(date(1969, 12, 31), date.today())
[   60s] AssertionError: datetime.date(1969, 12, 31) != datetime.date(1970, 1, 1)

Occurs on Python 2.7 and 3.7

I tried setting LANG=en_US.UTF-8 , to no avail.

Disabling the test resulted in green builds.
https://build.opensuse.org/package/show/home:jayvdb:py-new/python-timecop