From cfcf4b3605f9653e4e056088d89932b2a0e4281b Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 1 Jul 2013 14:22:27 +0200 Subject: Stopped using django.utils.unittest in the test suite. Refs #20680. --- tests/dispatch/tests/test_dispatcher.py | 2 +- tests/dispatch/tests/test_saferef.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/dispatch') diff --git a/tests/dispatch/tests/test_dispatcher.py b/tests/dispatch/tests/test_dispatcher.py index a1d4c7e176..5f7dca87cc 100644 --- a/tests/dispatch/tests/test_dispatcher.py +++ b/tests/dispatch/tests/test_dispatcher.py @@ -1,9 +1,9 @@ import gc import sys import time +import unittest from django.dispatch import Signal, receiver -from django.utils import unittest if sys.platform.startswith('java'): diff --git a/tests/dispatch/tests/test_saferef.py b/tests/dispatch/tests/test_saferef.py index 30eaddfe18..a9a246304e 100644 --- a/tests/dispatch/tests/test_saferef.py +++ b/tests/dispatch/tests/test_saferef.py @@ -1,6 +1,7 @@ +import unittest + from django.dispatch.saferef import safeRef from django.utils.six.moves import xrange -from django.utils import unittest class Test1(object): def x(self): -- cgit v1.2.1