Opened 10 years ago

Closed 10 years ago

#2771 closed defect (fixed)

[patch] doctests of trunk/test fail for Python 2.5

Reported by: ymasuda[at] Owned by: adrian
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Some of doctests in trunk/test fails for Python 2.5 (FINAL), because of an API change in,
which was introduced from 2.5a1.
The attached patch includes signature adaption to 2.5 and a bifurcated function call to

Attachments (1)

patch_to_doctest.diff (1.1 KB) - added by ymasuda 10 years ago.
Patch to trunk/test/

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by ymasuda

Patch to trunk/test/

comment:1 Changed 10 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(In [3819]) Fixed #2771 -- Tweaked Django's doctest module so that it also works with
Python 2.5. Thanks, ymasuda.

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