Revert change to django/test/_doctest.py