mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Fix encoding for test case added in r84967.
This commit is contained in:
parent
42d544505f
commit
d12a420acc
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue