From 09b446dfe86f01f9d21e8c6351a31c5587a5b7a9 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 1 Jul 2013 22:28:45 +0200 Subject: [PATCH] This doesn't need to be a package any more. Refs #20680. --- django/utils/{unittest/__init__.py => unittest.py} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename django/utils/{unittest/__init__.py => unittest.py} (66%) diff --git a/django/utils/unittest/__init__.py b/django/utils/unittest.py similarity index 66% rename from django/utils/unittest/__init__.py rename to django/utils/unittest.py index 37634e0b37..b9aa1bbd73 100644 --- a/django/utils/unittest/__init__.py +++ b/django/utils/unittest.py @@ -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) try: from unittest2 import *