summaryrefslogtreecommitdiff
path: root/tests/serializers/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/serializers/tests.py')
-rw-r--r--tests/serializers/tests.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/serializers/tests.py b/tests/serializers/tests.py
index 5750c146a2..da453831e0 100644
--- a/tests/serializers/tests.py
+++ b/tests/serializers/tests.py
@@ -1,14 +1,13 @@
from datetime import datetime
from io import StringIO
+from unittest import mock
from django.core import serializers
from django.core.serializers import SerializerDoesNotExist
from django.core.serializers.base import ProgressBar
from django.db import connection, transaction
from django.http import HttpResponse
-from django.test import (
- SimpleTestCase, mock, override_settings, skipUnlessDBFeature,
-)
+from django.test import SimpleTestCase, override_settings, skipUnlessDBFeature
from django.test.utils import Approximate
from django.utils.functional import curry