Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[py3] Removed filename encoding in file_uploads test

  • Loading branch information...
commit 6d68022a274df2e19205d7313034cf6eb619f346 1 parent 1930b89
@claudep claudep authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/regressiontests/file_uploads/tests.py
View
2  tests/regressiontests/file_uploads/tests.py
@@ -87,7 +87,7 @@ def test_unicode_file_name(self):
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)

0 comments on commit 6d68022

Please sign in to comment.
Something went wrong with that request. Please try again.