Opened 12 years ago

Last modified 10 years ago

#18727 closed Cleanup/optimization

Remove django.test._doctest — at Initial Version

Reported by: Aymeric Augustin Owned by: nobody
Component: Testing framework Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

We have copied this module from the standard library and submitted the patch to Python's bug tracker six years ago: http://bugs.python.org/issue1521051

Patching our copy to support both Python 2 and 3 increases severely the amount of changes from Python's version. It becomes much harder to apply upstream changes.

Unfortunately the ticket is stuck, because the patch we provided didn't include tests. Even if tests were added and the patch was committed now, we'd have to deprecate all Pythons <= 3.3 before removing our copy and relying on the stdlib. This isn't going to happen in the next five years.

Since Django moved away from using doctests, and as suggested by Russell two years ago in the tickets comments, we should deprecate our copy.

Change History (0)

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