#30264: "OverflowError: timestamp out of range for platform time_t" test 
failure on
32-bit platforms
---------------------------------------------+--------------------------
               Reporter:  Chris Lamb         |          Owner:  nobody
                   Type:  Bug                |         Status:  new
              Component:  Testing framework  |        Version:  master
               Severity:  Normal             |       Keywords:  overflow
           Triage Stage:  Unreviewed         |      Has patch:  0
    Needs documentation:  0                  |    Needs tests:  0
Patch needs improvement:  0                  |  Easy pickings:  0
                  UI/UX:  0                  |
---------------------------------------------+--------------------------
 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

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30264>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/048.a24a795fbbbeecd51fbb4c245b3deae9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to