Fix regression

Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Hugo van Kemenade 2020-02-23 10:31:54 +02:00 committed by GitHub
parent 44e661f25a
commit 12f66f44f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,7 +216,7 @@ def test_readline(tmp_path):
_test_readline(t, ending)
def _test_readline_file_psfile(test_string, ending):
f = str(tmp_path / "temp.bufr")
f = str(tmp_path / "temp.txt")
with open(f, "wb") as w:
w.write(test_string.encode("latin-1"))