Skip to content

Commit 7d39e31

Browse files
Copilotsobolevn
andauthored
Update hypothesis to ^6.151 and fix repr change in test
Agent-Logs-Url: https://github.com/dry-python/returns/sessions/7187d82f-5216-4270-86dc-e35f871a7f33 Co-authored-by: sobolevn <4660275+sobolevn@users.noreply.github.com>
1 parent ec156a6 commit 7d39e31

3 files changed

Lines changed: 19 additions & 19 deletions

File tree

poetry.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ classifiers = [
3434
dependencies.python = "^3.10"
3535
dependencies.typing-extensions = ">=4.0,<5.0"
3636
dependencies.pytest = { version = ">=8,<10", optional = true }
37-
dependencies.hypothesis = { version = "^6.136", optional = true }
37+
dependencies.hypothesis = { version = "^6.151", optional = true }
3838
dependencies.mypy = { version = ">=1.12,<1.18", optional = true }
3939
extras.compatible-mypy = [ "mypy" ]
4040
extras.check-laws = [ "pytest", "hypothesis" ]

tests/test_contrib/test_hypothesis/test_type_resolution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def test_types_to_strategies_default() -> None: # noqa: WPS210
207207
]
208208
assert (
209209
_strategy_string(result[callable_type], Callable[[int, str], bool])
210-
== 'functions(like=lambda *args, **kwargs: <unknown>,'
210+
== 'functions(like=lambda *args, **kwargs: None,'
211211
' returns=booleans(), pure=True)'
212212
)
213213
assert (

0 commit comments

Comments
 (0)