Skip to content

Commit 75f4a70

Browse files
Black refactor
1 parent 5e4932b commit 75f4a70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/test_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,13 @@ def test_normalize_doi():
115115

116116
def test_open_guess_encoding():
117117
data = "Rică nu știa să zică râu, rățușcă, rămurică."
118-
with tempfile.NamedTemporaryFile(mode='wb') as test_file:
118+
with tempfile.NamedTemporaryFile(mode="wb") as test_file:
119119
test_file.write(str.encode(data, "utf-16"))
120120
test_file.seek(0)
121121
with utils.open_guess_encoding(test_file.name) as fd:
122122
assert fd.read() == data
123123

124+
124125
@pytest.mark.parametrize(
125126
"req, is_local",
126127
[

0 commit comments

Comments
 (0)