diff --git a/tests/model_fields/test_imagefield.py b/tests/model_fields/test_imagefield.py index 59a1836bdb..5ac25fbe26 100644 --- a/tests/model_fields/test_imagefield.py +++ b/tests/model_fields/test_imagefield.py @@ -178,9 +178,6 @@ class ImageFieldTests(ImageFieldTestMixin, TestCase): p.mugshot.save("mug", self.file1) dump = pickle.dumps(p) - p2 = Person(name="Bob") - p2.mugshot = self.file1 - loaded_p = pickle.loads(dump) self.assertEqual(p.mugshot, loaded_p.mugshot)