diff options
Diffstat (limited to 'tests/file_storage')
| -rw-r--r-- | tests/file_storage/tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/file_storage/tests.py b/tests/file_storage/tests.py index 7912eb7efa..d33ca67c33 100644 --- a/tests/file_storage/tests.py +++ b/tests/file_storage/tests.py @@ -24,7 +24,6 @@ from django.test import ( from django.test.utils import requires_tz_support from django.urls import NoReverseMatch, reverse_lazy from django.utils import timezone -from django.utils._os import upath from .models import Storage, temp_storage, temp_storage_location @@ -108,7 +107,7 @@ class FileStorageTests(SimpleTestCase): """ storage = self.storage_class(location='') self.assertEqual(storage.base_location, '') - self.assertEqual(storage.location, upath(os.getcwd())) + self.assertEqual(storage.location, os.getcwd()) def test_file_access_options(self): """ |
