﻿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
31521	test_parsing_rfc850 test failure on 32-bit platforms.	Tomáš Chvátal	Hasan Ramezani	"As the test checks for date that is not supported there it simply overflows:
{{{
#!python
[  405s] ERROR: test_parsing_rfc850 (utils_tests.test_http.HttpDateProcessingTests) [<object object at 0xa4e44cb0>] (rfc850str='Tuesday, 31-Dec-69 08:49:37 GMT')
[  405s] ----------------------------------------------------------------------
[  405s] Traceback (most recent call last):
[  405s]   File ""/usr/lib/python3.8/unittest/case.py"", line 60, in testPartExecutor
[  405s]     yield
[  405s]   File ""/usr/lib/python3.8/unittest/case.py"", line 582, in subTest
[  405s]     yield
[  405s]   File ""/home/abuild/rpmbuild/BUILD/Django-3.0.5/tests/utils_tests/test_http.py"", line 340, in test_parsing_rfc850
[  405s]     self.assertEqual(datetime.utcfromtimestamp(parsed), expected_date)
[  405s] OverflowError: timestamp out of range for platform time_t
[  405s] 
[  405s] ======================================================================
[  405s] ERROR: test_parsing_rfc850 (utils_tests.test_http.HttpDateProcessingTests) [<object object at 0xa4e44cb0>] (rfc850str='Wednesday, 31-Dec-70 08:49:37 GMT')
[  405s] ----------------------------------------------------------------------
[  405s] Traceback (most recent call last):
[  405s]   File ""/usr/lib/python3.8/unittest/case.py"", line 60, in testPartExecutor
[  405s]     yield
[  405s]   File ""/usr/lib/python3.8/unittest/case.py"", line 582, in subTest
[  405s]     yield
[  405s]   File ""/home/abuild/rpmbuild/BUILD/Django-3.0.5/tests/utils_tests/test_http.py"", line 340, in test_parsing_rfc850
[  405s]     self.assertEqual(datetime.utcfromtimestamp(parsed), expected_date)
[  405s] OverflowError: timestamp out of range for platform time_t
[  405s] 
[  405s] ----------------------------------------------------------------------
}}}

I guess easiest is to skip those on if the platform is known to not support it."	Cleanup/optimization	closed	Core (Other)	dev	Normal	fixed			Accepted	1	0	0	1	1	0
