summaryrefslogtreecommitdiff
path: root/tests/shell
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell')
-rw-r--r--tests/shell/tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/shell/tests.py b/tests/shell/tests.py
index f2d1d0e392..6d39af3a71 100644
--- a/tests/shell/tests.py
+++ b/tests/shell/tests.py
@@ -1,9 +1,10 @@
import sys
import unittest
+from unittest import mock
from django import __version__
from django.core.management import CommandError, call_command
-from django.test import SimpleTestCase, mock
+from django.test import SimpleTestCase
from django.test.utils import captured_stdin, captured_stdout, patch_logger