Author: russellm
Date: 2009-03-17 05:40:04 -0500 (Tue, 17 Mar 2009)
New Revision: 10071

Modified:
   django/trunk/tests/regressiontests/cache/tests.py
Log:
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.

Modified: django/trunk/tests/regressiontests/cache/tests.py
===================================================================
--- django/trunk/tests/regressiontests/cache/tests.py   2009-03-17 10:30:17 UTC 
(rev 10070)
+++ django/trunk/tests/regressiontests/cache/tests.py   2009-03-17 10:40:04 UTC 
(rev 10071)
@@ -265,7 +265,7 @@
     """
     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)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to