Fix encoding for test case added in r84967.

This commit is contained in:
Florent Xicluna 2010-09-23 00:46:13 +00:00
parent 42d544505f
commit d12a420acc
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ boolean {0[0]} NO
error = configparser.MissingSectionHeaderError
expected = (tricky, 1,
' # INI with as many tricky parts as possible\n')
with open(tricky) as f:
with open(tricky, encoding='utf-8') as f:
e = self.parse_error(cf, error, f)
self.assertEqual(e.args, expected)