From ba4befca4fbdccf3893126b72902f02192c36cd7 Mon Sep 17 00:00:00 2001 From: Timothy Crosley Date: Sun, 12 Jul 2015 23:20:34 -0700 Subject: Fix test --- test_isort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1