Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a regression on Python < 2.6 introduced in [12552].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d47b9ec2c71868105df41e50020c9ec2eae76b62 1 parent d30ff77
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/regressiontests/file_storage/tests.py
View
2  tests/regressiontests/file_storage/tests.py
@@ -181,7 +181,7 @@ def test_first_character_dot(self):
# 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')))
Please sign in to comment.
Something went wrong with that request. Please try again.