Code

Opened 4 years ago

Closed 4 years ago

#14351 closed (fixed)

Test failure in requests test

Reported by: russellm Owned by: nobody
Component: Core (Other) Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

As of r13920, the requests test is failing on certain boxes.

It doesn't happen on every box; ubuntu virtual machines appear to be particularly susceptible.

F
======================================================================
FAIL: Doctest: regressiontests.requests.tests
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/rkm/django/django/test/_doctest.py", line 2180, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for regressiontests.requests.tests
  File "/home/rkm/django/tests/regressiontests/requests/tests.py", line 0, in tests

----------------------------------------------------------------------
File "/home/rkm/django/tests/regressiontests/requests/tests.py", line 55, in regressiontests.requests.tests
Failed example:
    datetime_cookie['max-age']
Expected:
    10
Got:
    11


----------------------------------------------------------------------
Ran 1 test in 0.008s

FAILED (failures=1)

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r13922

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.