test: explicit encodings for open()
This commit is contained in:
parent
3703328751
commit
38d2ab685c
14 changed files with 63 additions and 61 deletions
|
|
@ -77,5 +77,5 @@ def test_loopback_basic(tmpdir):
|
|||
client.call("close", None)
|
||||
|
||||
lo = loop.Loop(minor)
|
||||
with open(filename, "r") as f:
|
||||
with open(filename, "r", encoding="utf8") as f:
|
||||
assert not lo.is_bound_to(f.fileno())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue