summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2013-10-29 17:22:45 -0400
committerSimon Charette <charette.s@gmail.com>2013-10-29 17:22:45 -0400
commit8f7355982305da2daccbdfa156b45d62d1cc2c99 (patch)
treeb46b86dc88887a276e9fbdb7f6394cce9e3cd050
parentfd219fa24c7911adab60e1f5e4fd3d7f9d82a969 (diff)
Fixed a F811 warning introduced by 35db9d58d6.
-rw-r--r--tests/file_storage/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/file_storage/tests.py b/tests/file_storage/tests.py
index 5906af062e..36996a69ef 100644
--- a/tests/file_storage/tests.py
+++ b/tests/file_storage/tests.py
@@ -261,15 +261,15 @@ class FileStorageTests(unittest.TestCase):
"""The storage backend should preserve case of filenames."""
# Create a storage backend associated with the mixed case name
# directory.
- temp_storage = self.storage_class(location=self.temp_dir2)
+ other_temp_storage = self.storage_class(location=self.temp_dir2)
# Ask that storage backend to store a file with a mixed case filename.
mixed_case = 'CaSe_SeNsItIvE'
- file = temp_storage.open(mixed_case, 'w')
+ file = other_temp_storage.open(mixed_case, 'w')
file.write('storage contents')
file.close()
self.assertEqual(os.path.join(self.temp_dir2, mixed_case),
- temp_storage.path(mixed_case))
- temp_storage.delete(mixed_case)
+ other_temp_storage.path(mixed_case))
+ other_temp_storage.delete(mixed_case)
def test_makedirs_race_handling(self):
"""