Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#14329 closed (duplicate)

Seeing test failure in regressiontests.request since 13809

Reported by: Gabriel Hurley Owned by: Gabriel Hurley
Component: HTTP handling Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I'm getting the following test failure when I run the test suite using sqlite on Windows XP with Python 2.6.5 since [13809]:

======================================================================
FAIL: Doctest: regressiontests.requests.tests
----------------------------------------------------------------------
File "[...]\django-trunk\tests\regressiontests\requests\tests.py
", line 55, in regressiontests.requests.tests
Failed example:
    datetime_cookie['max-age']
Expected:
    10
Got:
    11

I don't have time to dig into it at the moment, but I'm guessing it's a timezone-related issue or something of the sort.

Change History (4)

comment:2 Changed 6 years ago by Gabriel Hurley

Owner: changed from nobody to Gabriel Hurley
Status: newassigned

yay! glad I'm not crazy.

I have the feeling the best solution here is just to convert that test to a unit test and use a less naive comparison for the max_age value... (we have always been at war with doctests)

comment:3 Changed 6 years ago by Luke Plant

Resolution: duplicate
Status: assignedclosed

Dupe of #14351

comment:4 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top