Author: jacob
Date: 2010-02-23 17:23:38 -0600 (Tue, 23 Feb 2010)
New Revision: 12555

Modified:
   django/trunk/tests/regressiontests/file_storage/tests.py
Log:
Fixed a regression on Python < 2.6 introduced in [12552].

Modified: django/trunk/tests/regressiontests/file_storage/tests.py
===================================================================
--- django/trunk/tests/regressiontests/file_storage/tests.py    2010-02-23 
23:04:25 UTC (rev 12554)
+++ django/trunk/tests/regressiontests/file_storage/tests.py    2010-02-23 
23:23:38 UTC (rev 12555)
@@ -181,7 +181,7 @@
         # Before 2.6, a leading dot was treated as an extension, and so
         # underscore gets added to beginning instead of end.
         if sys.version_info < (2, 6):
-            self.assert_(os.path.exists(os.path.join(self.storage_dir, 
'dotted.path/_.test')))
+            self.assert_(os.path.exists(os.path.join(self.storage_dir, 
'dotted.path/_1.test')))
         else:
             self.assert_(os.path.exists(os.path.join(self.storage_dir, 
'dotted.path/.test_1')))
 

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

Reply via email to