Skip to content

Commit

Permalink
import only deepcopy in test
Browse files Browse the repository at this point in the history
  • Loading branch information
vchrisb committed Mar 15, 2022
1 parent 7f1a021 commit 312f73f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_models.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import copy
import io
import os
import time
from copy import deepcopy

import pkg_resources
import pytest
Expand Down Expand Up @@ -186,7 +186,7 @@ def test_variations_deepcopy(self, db):
instance_original = ResizeModel.objects.create(
image=self.fixtures["600x400.jpg"]
)
instance = copy.deepcopy(instance_original)
instance = deepcopy(instance_original)
assert isinstance(instance.image, StdImageFieldFile)

assert hasattr(instance.image, "thumbnail")
Expand Down

0 comments on commit 312f73f

Please sign in to comment.