Skip to content
Browse files

This doesn't need to be a package any more.

Refs #20680.
  • Loading branch information...
1 parent 909433f commit 09b446dfe86f01f9d21e8c6351a31c5587a5b7a9 @aaugustin aaugustin committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 django/utils/{unittest/ →}
4 django/utils/unittest/ → django/utils/
@@ -1,7 +1,9 @@
+from __future__ import absolute_import
import warnings
warnings.warn("django.utils.unittest will be removed in Django 1.9.",
- PendingDeprecationWarning)
+ PendingDeprecationWarning, stacklevel=2)
from unittest2 import *

2 comments on commit 09b446d


This breaks subpackages imports such as from import skipIf.


I don't think this commit breaks importing from below django.utils.unittest. I think the commit that removes the vendored version does.

This has always been broken; if you did it, you ended up mixing different unittest libraries, and that could result in very hard to track bugs.

Vendoring sucks.

Please sign in to comment.
Something went wrong with that request. Please try again.