From a59095af24bb64a025ce99de3555f2a21da7a2e8 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Thu, 7 May 2009 17:53:23 +0000 Subject: Fixed #11030: fixed file uploads on non-utf8 filesystem encoding. Thanks, Honza Kral. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10693 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/modeltests/files/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/modeltests/files/models.py b/tests/modeltests/files/models.py index ba3eb99910..30bbdf2841 100644 --- a/tests/modeltests/files/models.py +++ b/tests/modeltests/files/models.py @@ -70,13 +70,13 @@ ValueError: The 'normal' attribute has no file associated with it. [] >>> files.sort() >>> files -[u'default.txt', u'django_test.txt'] +['default.txt', 'django_test.txt'] >>> obj1.save() >>> dirs, files = temp_storage.listdir('tests') >>> files.sort() >>> files -[u'assignment.txt', u'default.txt', u'django_test.txt'] +['assignment.txt', 'default.txt', 'django_test.txt'] # Files can be read in a little at a time, if necessary. -- cgit v1.3