Skip to content

Commit 0185d02

Browse files
committed
Fixed test errors caused by flake fixes. All tests now run
1 parent 7175c38 commit 0185d02

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

tests/modules/raw/test_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def test_split_to_and_join_lines_model(
6464
) -> None:
6565

6666
raw_data = """\
67+
6768
Alas, poor Yorick! I knew him, Horatio: a fellow
6869
of infinite jest, of most excellent fancy: he hath
6970
borne me on his back a thousand times; and now, how

tests/util/test_contexts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def test_print_exception(capsys: pytest.CaptureFixture) -> None:
203203
'a' + 1 # type: ignore
204204

205205
captured = capsys.readouterr()
206-
assert captured.out == "TypeError: can only concatenate str (not 'int') to str"
206+
assert captured.out == 'TypeError: can only concatenate str (not "int") to str'
207207

208208
with print_exception:
209209
raise NotImplementedError(

tests/util/test_setdeque.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from collections import deque
2+
from contextlib import suppress # noqa: F401
23
from itertools import chain
34
import sys
45
from timeit import timeit

0 commit comments

Comments
 (0)