mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Use binary mode for reading plist file, as per Python 3 docs.
This commit is contained in:
parent
92f1a8180d
commit
cc58f0a5e4
@ -29,7 +29,7 @@ def check_structure(outdir):
|
||||
assert contentsdir.isdir()
|
||||
assert (contentsdir / 'Info.plist').isfile()
|
||||
|
||||
with open(contentsdir / 'Info.plist', 'r') as f:
|
||||
with open(contentsdir / 'Info.plist', 'rb') as f:
|
||||
plist = read_plist(f)
|
||||
assert plist
|
||||
assert len(plist)
|
||||
|
Loading…
Reference in New Issue
Block a user