diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-08-12 23:53:54 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-08-13 09:56:14 +0200 |
| commit | 6d68022a274df2e19205d7313034cf6eb619f346 (patch) | |
| tree | aafb2f647a94f4f85223127ab8b15fd95c7c10d5 | |
| parent | 1930b899bd69fb084856257598ab5ddd8ee4e016 (diff) | |
[py3] Removed filename encoding in file_uploads test
| -rw-r--r-- | tests/regressiontests/file_uploads/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/file_uploads/tests.py b/tests/regressiontests/file_uploads/tests.py index d2362d7197..d3bf20be94 100644 --- a/tests/regressiontests/file_uploads/tests.py +++ b/tests/regressiontests/file_uploads/tests.py @@ -87,7 +87,7 @@ class FileUploadTests(TestCase): tdir = tempfile.gettempdir() # This file contains chinese symbols and an accented char in the name. - with open(os.path.join(tdir, UNICODE_FILENAME.encode('utf-8')), 'w+b') as file1: + with open(os.path.join(tdir, UNICODE_FILENAME), 'w+b') as file1: file1.write(b'b' * (2 ** 10)) file1.seek(0) |
