Permalink
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...
1 parent cf7a3fa commit 25e1c39bc35fdc013627fa29c8c6cf24fc705fe1 @freakboy3742 freakboy3742 committed Mar 17, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit 25e1c39

Please sign in to comment.