summaryrefslogtreecommitdiff
path: root/tests/file_uploads
diff options
context:
space:
mode:
Diffstat (limited to 'tests/file_uploads')
-rw-r--r--tests/file_uploads/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/file_uploads/tests.py b/tests/file_uploads/tests.py
index 39cc2b4df0..1338add474 100644
--- a/tests/file_uploads/tests.py
+++ b/tests/file_uploads/tests.py
@@ -22,7 +22,7 @@ from . import uploadhandler
from .models import FileModel
UNICODE_FILENAME = 'test-0123456789_中文_Orléans.jpg'
-MEDIA_ROOT = sys_tempfile.mkdtemp(dir=os.environ['DJANGO_TEST_TEMP_DIR'])
+MEDIA_ROOT = sys_tempfile.mkdtemp()
UPLOAD_TO = os.path.join(MEDIA_ROOT, 'test_upload')