summaryrefslogtreecommitdiff
path: root/tests/dispatch
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dispatch')
-rw-r--r--tests/dispatch/tests/test_dispatcher.py2
-rw-r--r--tests/dispatch/tests/test_saferef.py3
2 files changed, 3 insertions, 2 deletions
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):