Opened 12 years ago

Closed 12 years ago

#2771 closed defect (fixed)

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

Reported by: ymasuda[at] Owned by: Adrian Holovaty
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 Yasushi Masuda 12 years ago.
Patch to trunk/test/

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Yasushi Masuda

Attachment: patch_to_doctest.diff added

Patch to trunk/test/

comment:1 Changed 12 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(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