mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Refs #35658 -- Fixed test_create_file_field_from_another_file_field_in_memory_storage when run in reverse.
This commit is contained in:
parent
43cdfa8b20
commit
a57596e443
@ -771,7 +771,8 @@ class DiscardingFalseContentStorageTests(FileStorageTests):
|
|||||||
|
|
||||||
class FileFieldStorageTests(TestCase):
|
class FileFieldStorageTests(TestCase):
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
shutil.rmtree(temp_storage_location)
|
if os.path.exists(temp_storage_location):
|
||||||
|
shutil.rmtree(temp_storage_location)
|
||||||
|
|
||||||
def _storage_max_filename_length(self, storage):
|
def _storage_max_filename_length(self, storage):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user