diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2015-07-12 23:20:34 -0700 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2015-07-12 23:20:34 -0700 |
commit | ba4befca4fbdccf3893126b72902f02192c36cd7 (patch) | |
tree | 9184ae1b3850a8f8ea1da02d5431d07f3ef96379 | |
parent | 8e7bb0f3734aaf68d29acf39305a47c4283536e1 (diff) | |
download | isort-ba4befca4fbdccf3893126b72902f02192c36cd7.tar.gz |
Fix test
-rw-r--r-- | test_isort.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_isort.py b/test_isort.py index 9769263e..d7a91887 100644 --- a/test_isort.py +++ b/test_isort.py @@ -1434,7 +1434,7 @@ def test_other_file_encodings(): try: tmp_dir = tempfile.mkdtemp() for encoding in ('latin1', 'utf8'): - tmp_fname = os.path.join(tmp_dir, 'test_{}.py'.format(encoding)) + tmp_fname = os.path.join(tmp_dir, 'test_{0}.py'.format(encoding)) with codecs.open(tmp_fname, mode='w', encoding=encoding) as f: file_contents = "# coding: {0}\n\ns = u'ã'\n".format(encoding) f.write(file_contents) |