We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f1a021 commit 312f73fCopy full SHA for 312f73f
tests/test_models.py
@@ -1,7 +1,7 @@
1
-import copy
2
import io
3
import os
4
import time
+from copy import deepcopy
5
6
import pkg_resources
7
import pytest
@@ -186,7 +186,7 @@ def test_variations_deepcopy(self, db):
186
instance_original = ResizeModel.objects.create(
187
image=self.fixtures["600x400.jpg"]
188
)
189
- instance = copy.deepcopy(instance_original)
+ instance = deepcopy(instance_original)
190
assert isinstance(instance.image, StdImageFieldFile)
191
192
assert hasattr(instance.image, "thumbnail")
0 commit comments