mirror of https://github.com/django/django.git
Removed unused lines in ImageFieldTests.test_pickle().
This commit is contained in:
parent
6c9c823e7a
commit
66e16dcc99
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue