diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2010-02-23 23:23:38 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2010-02-23 23:23:38 +0000 |
| commit | d47b9ec2c71868105df41e50020c9ec2eae76b62 (patch) | |
| tree | 4615e5ffb0ff1c6929332ad37191bc2b4f080321 /tests/regressiontests/file_storage/tests.py | |
| parent | d30ff7760214186667d9344e9884e0fed248d9dd (diff) | |
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
Diffstat (limited to 'tests/regressiontests/file_storage/tests.py')
| -rw-r--r-- | tests/regressiontests/file_storage/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/file_storage/tests.py b/tests/regressiontests/file_storage/tests.py index b1e31d1811..2c5f0f4551 100644 --- a/tests/regressiontests/file_storage/tests.py +++ b/tests/regressiontests/file_storage/tests.py @@ -181,7 +181,7 @@ class FileStoragePathParsing(TestCase): # 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'))) |
