Skip to content

Commit 312f73f

Browse files
committed
import only deepcopy in test
1 parent 7f1a021 commit 312f73f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import copy
21
import io
32
import os
43
import time
4+
from copy import deepcopy
55

66
import pkg_resources
77
import pytest
@@ -186,7 +186,7 @@ def test_variations_deepcopy(self, db):
186186
instance_original = ResizeModel.objects.create(
187187
image=self.fixtures["600x400.jpg"]
188188
)
189-
instance = copy.deepcopy(instance_original)
189+
instance = deepcopy(instance_original)
190190
assert isinstance(instance.image, StdImageFieldFile)
191191

192192
assert hasattr(instance.image, "thumbnail")

0 commit comments

Comments
 (0)