Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #10517 -- Corrected cache name for file-based cache tests so th…

…at the filename can be valid under Windows. Thanks to Bob Thomas for the report and fix.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 25e1c39bc35fdc013627fa29c8c6cf24fc705fe1 1 parent cf7a3fa
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/regressiontests/cache/tests.py
View
2  tests/regressiontests/cache/tests.py
@@ -265,7 +265,7 @@ class FileBasedCacheTests(unittest.TestCase, BaseCacheTests):
"""
def setUp(self):
self.dirname = tempfile.mkdtemp()
- self.cache = get_cache('file:///%s' % self.dirname)
+ self.cache = get_cache('file://%s' % self.dirname)
def tearDown(self):
shutil.rmtree(self.dirname)
Please sign in to comment.
Something went wrong with that request. Please try again.