summaryrefslogtreecommitdiff
path: root/tests/model_fields
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2022-08-22 15:18:10 +0200
committerCarlton Gibson <carlton@noumenal.es>2022-08-23 15:34:07 +0200
commit4488a25cc93eab28fc25ffc464e08f075642fa27 (patch)
treea763900dd09705ded3f5c35e4d7880aa59102fb1 /tests/model_fields
parent903ac2f36439ab33039be077f474c23a3b72bf78 (diff)
downloaddjango-4488a25cc93eab28fc25ffc464e08f075642fa27.tar.gz
Removed unused path variable in model_fields tests.
Diffstat (limited to 'tests/model_fields')
-rw-r--r--tests/model_fields/models.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/model_fields/models.py b/tests/model_fields/models.py
index 9a64d51766..28ed59c391 100644
--- a/tests/model_fields/models.py
+++ b/tests/model_fields/models.py
@@ -1,5 +1,4 @@
import json
-import os
import tempfile
import uuid
@@ -265,7 +264,6 @@ if Image:
# Set up a temp directory for file storage.
temp_storage_dir = tempfile.mkdtemp()
temp_storage = FileSystemStorage(temp_storage_dir)
- temp_upload_to_dir = os.path.join(temp_storage.location, "tests")
class Person(models.Model):
"""