﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30264	"""OverflowError: timestamp out of range for platform time_t"" test failure on 32-bit platforms"	Chris Lamb	Mariusz Felisiak	"In Debian we are seeing the following test failure on 32-bit platforms (not on 64-bit):

{{{
======================================================================
ERROR: test_parsing_year_less_than_70 (utils_tests.test_http.HttpDateProcessingTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/usr/lib/python3.7/unittest/case.py"", line 59, in testPartExecutor
    yield
  File ""/usr/lib/python3.7/unittest/case.py"", line 615, in run
    testMethod()
  File ""/build/python-django-2.2~beta1/tests/utils_tests/test_http.py"", line 301, in test_parsing_year_less_than_70
    self.assertEqual(datetime.utcfromtimestamp(parsed), datetime(2050, 11, 6, 8, 49, 37))
OverflowError: timestamp out of range for platform time_t
}}}

This affects (at least) 2.2 beta 1 and was added in https://github.com/django/django/commit/6b7f1c2530784ed6c6c1826688faaa08e3f786d9.

Original filed by Andreas Beckmann at https://bugs.debian.org/924784"	Bug	closed	Core (Other)	2.2	Release blocker	fixed	overflow		Ready for checkin	1	0	0	0	0	0
