summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-03-17 10:40:04 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-03-17 10:40:04 +0000
commit25e1c39bc35fdc013627fa29c8c6cf24fc705fe1 (patch)
tree305b14f265dd435ba7c72a1890c82768eaf64c10
parentcf7a3fa7f06814a7a22198fb9f84f6b9c0f09461 (diff)
Fixed #10517 -- Corrected cache name for file-based cache tests so that 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
-rw-r--r--tests/regressiontests/cache/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/cache/tests.py b/tests/regressiontests/cache/tests.py
index 4100a8cb1d..fe365f9097 100644
--- a/tests/regressiontests/cache/tests.py
+++ b/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)