diff options
Diffstat (limited to 'tests/model_fields')
| -rw-r--r-- | tests/model_fields/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_fields/models.py b/tests/model_fields/models.py index c988fce246..620fa9ec5d 100644 --- a/tests/model_fields/models.py +++ b/tests/model_fields/models.py @@ -237,7 +237,7 @@ if Image: attr_class = TestImageFieldFile # Set up a temp directory for file storage. - temp_storage_dir = tempfile.mkdtemp(dir=os.environ['DJANGO_TEST_TEMP_DIR']) + temp_storage_dir = tempfile.mkdtemp() temp_storage = FileSystemStorage(temp_storage_dir) temp_upload_to_dir = os.path.join(temp_storage.location, 'tests') |
