mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +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
1 changed files with 2 additions and 1 deletions
|
|
@ -771,7 +771,8 @@ class DiscardingFalseContentStorageTests(FileStorageTests):
|
|||
|
||||
class FileFieldStorageTests(TestCase):
|
||||
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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue