Skip to content

Commit 12a2a13

Browse files
committed
Bumps deps
1 parent 553fd60 commit 12a2a13

16 files changed

+140
-178
lines changed

poetry.lock

Lines changed: 114 additions & 152 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
@@ -67,7 +67,7 @@ httpx = "^0.17"
6767

6868
mypy = "^0.812"
6969
wemake-python-styleguide = "^0.15"
70-
flake8-pytest-style = "^1.2"
70+
flake8-pytest-style = "^1.4"
7171
flake8-pyi = "^20.10"
7272
nitpick = "^0.25"
7373
codespell = "^2.0"

tests/test_contrib/test_pytest/test_plugin_error_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_error_not_handled(returns: ReturnsAsserts, container):
7070
assert not returns.is_error_handled(error_handled.alt(identity))
7171

7272

73-
@pytest.mark.anyio
73+
@pytest.mark.anyio()
7474
@pytest.mark.parametrize('container', [
7575
FutureResult.from_value(1),
7676
FutureResult.from_failure(1),

tests/test_converters/test_flatten.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def test_flatten_context(container, merged):
6262
assert flatten(container)(...) == merged(...)
6363

6464

65-
@pytest.mark.anyio
65+
@pytest.mark.anyio()
6666
async def test_flatten_future(subtests):
6767
"""Ensures that `flatten` is always returning the correct type."""
6868
futures = [
@@ -79,7 +79,7 @@ async def test_flatten_future(subtests):
7979
assert await flatten(container) == await merged # type: ignore
8080

8181

82-
@pytest.mark.anyio
82+
@pytest.mark.anyio()
8383
async def test_flatten_context_future_result(subtests):
8484
"""Ensures that `flatten` is always returning the correct type."""
8585
futures = [
@@ -99,7 +99,7 @@ async def test_flatten_context_future_result(subtests):
9999
)(...) == await merged(...)
100100

101101

102-
@pytest.mark.anyio
102+
@pytest.mark.anyio()
103103
async def test_non_flatten_future(subtests):
104104
"""Ensures that `flatten` is always returning the correct type."""
105105
futures = [
@@ -116,7 +116,7 @@ async def test_non_flatten_future(subtests):
116116
)
117117

118118

119-
@pytest.mark.anyio
119+
@pytest.mark.anyio()
120120
async def test_non_flatten_context_future_result(subtests):
121121
"""Ensures that `flatten` is always returning the correct type."""
122122
futures = [

tests/test_future/test_future_container/test_asyncize_decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def _function(arg: int) -> float:
88
return arg / 2
99

1010

11-
@pytest.mark.anyio
11+
@pytest.mark.anyio()
1212
async def test_asyncify_decorator():
1313
"""Ensure that function marked with ``@asyncify`` is awaitable."""
1414
coro = _function(2)

tests/test_future/test_future_container/test_future_decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async def _coro(arg: int) -> float:
99
return arg / 2
1010

1111

12-
@pytest.mark.anyio
12+
@pytest.mark.anyio()
1313
async def test_safe_decorator():
1414
"""Ensure that coroutine marked with ``@future`` returns ``Future``."""
1515
future_instance = _coro(1)

tests/test_future/test_future_container/test_future_equality.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def test_nonequality():
99
assert hash(Future.from_value(1))
1010

1111

12-
@pytest.mark.anyio
12+
@pytest.mark.anyio()
1313
async def test_equality():
1414
"""Ensures that containers are not compared to regular values."""
1515
assert await Future.from_value(2) == await Future.from_value(2)

tests/test_future/test_future_container/test_future_units.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from returns.io import IO
77

88

9-
@pytest.mark.anyio
9+
@pytest.mark.anyio()
1010
async def test_inner_value(subtests):
1111
"""Ensure that coroutine correct value is preserved for all units."""
1212
containers: List[Awaitable[Any]] = [

tests/test_future/test_future_result/test_future_result_decorator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async def _coro(arg: int) -> float:
99
return 1 / arg
1010

1111

12-
@pytest.mark.anyio
12+
@pytest.mark.anyio()
1313
async def test_future_safe_decorator():
1414
"""Ensure that coroutine marked with ``@future_safe``."""
1515
future_instance = _coro(2)
@@ -18,7 +18,7 @@ async def test_future_safe_decorator():
1818
assert await future_instance == IOSuccess(0.5)
1919

2020

21-
@pytest.mark.anyio
21+
@pytest.mark.anyio()
2222
async def test_future_safe_decorator_failure():
2323
"""Ensure that coroutine marked with ``@future_safe``."""
2424
future_instance = _coro(0)

tests/test_future/test_future_result/test_future_result_equality.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def test_nonequality():
99
assert hash(FutureResult.from_value(1))
1010

1111

12-
@pytest.mark.anyio
12+
@pytest.mark.anyio()
1313
async def test_equality():
1414
"""Ensures that containers are not compared to regular values."""
1515
assert await FutureResult.from_value(

0 commit comments

Comments
 (0)