Skip to content

Commit fd2a62c

Browse files
committed
fix mistakes in tests
1 parent 96f44ee commit fd2a62c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

whole-repo-tests/test_mypy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def test_raises_for_mixed_pos_kwargs_in_given(tmpdir):
352352
from hypothesis import given
353353
from hypothesis.strategies import text
354354
355-
@given(text(), x=text()) # type: ignore
355+
@given(text(), x=text())
356356
def test_bar(x):
357357
...
358358
"""

whole-repo-tests/test_pyright.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def test_pyright_issue_3296(tmp_path: Path):
6262
"""
6363
from hypothesis.strategies import lists, integers
6464
65-
reveal_type(lists(integers()).map(sorted), expected_text="SearchStrategy[list[int]]")
65+
lists(integers()).map(sorted)
6666
"""
6767
)
6868
)

0 commit comments

Comments
 (0)