From 7e8d90c699b225e33992091ef73cf24e3f8284c8 Mon Sep 17 00:00:00 2001 From: Naglis Jonaitis Date: Sat, 8 Aug 2020 19:17:12 +0300 Subject: [PATCH] Update pytest-asyncio --- poetry.lock | 12 ++++++------ pyproject.toml | 2 +- tests/test_client.py | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/poetry.lock b/poetry.lock index 44b2911..96f9b35 100644 --- a/poetry.lock +++ b/poetry.lock @@ -363,17 +363,17 @@ toml = "*" [[package]] name = "pytest-asyncio" -version = "0.10.0" +version = "0.14.0" description = "Pytest support for asyncio." category = "dev" optional = false python-versions = ">= 3.5" [package.extras] -testing = ["async-generator (>=1.3)", "coverage", "hypothesis (>=3.64)"] +testing = ["async-generator (>=1.3)", "coverage", "hypothesis (>=5.7.1)"] [package.dependencies] -pytest = ">=3.0.6" +pytest = ">=5.4.0" [[package]] name = "pyyaml" @@ -455,7 +455,7 @@ six = ">=1.9.0,<2" [metadata] lock-version = "1.0" python-versions = "^3.8" -content-hash = "7d4fadff6ddef8a38f290d60c79abb9b7dd8cd8262f2ea395a56821652873417" +content-hash = "351ad0c9375e44ea9334a989660d34b7d976d55aaf2d5e05fec7223929f03308" [metadata.files] appdirs = [ @@ -634,8 +634,8 @@ pytest = [ {file = "pytest-6.0.1.tar.gz", hash = "sha256:85228d75db9f45e06e57ef9bf4429267f81ac7c0d742cc9ed63d09886a9fe6f4"}, ] pytest-asyncio = [ - {file = "pytest-asyncio-0.10.0.tar.gz", hash = "sha256:9fac5100fd716cbecf6ef89233e8590a4ad61d729d1732e0a96b84182df1daaf"}, - {file = "pytest_asyncio-0.10.0-py3-none-any.whl", hash = "sha256:d734718e25cfc32d2bf78d346e99d33724deeba774cc4afdf491530c6184b63b"}, + {file = "pytest-asyncio-0.14.0.tar.gz", hash = "sha256:9882c0c6b24429449f5f969a5158b528f39bde47dc32e85b9f0403965017e700"}, + {file = "pytest_asyncio-0.14.0-py3-none-any.whl", hash = "sha256:2eae1e34f6c68fc0a9dc12d4bea190483843ff4708d24277c41568d6b6044f1d"}, ] pyyaml = [ {file = "PyYAML-5.3.1-cp27-cp27m-win32.whl", hash = "sha256:74809a57b329d6cc0fdccee6318f44b9b8649961fa73144a98735b0aaf029f1f"}, diff --git a/pyproject.toml b/pyproject.toml index 216de2a..098bd88 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ python = "^3.8" [tool.poetry.dev-dependencies] flake8 = "^3.7" bandit = "^1.6" -pytest-asyncio = "^0.10.0" +pytest-asyncio = "^0.14.0" flake8-builtins = "^1.4" pre-commit = "^1.18" black = {version = "^18.3-alpha.0", allow-prereleases = true} diff --git a/tests/test_client.py b/tests/test_client.py index 6d6e976..5c81c23 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -96,7 +96,7 @@ async def test_ipc_exception_response_is_set(mpv_client): @pytest.mark.mpv @pytest.mark.asyncio -async def test_event_subscription(event_loop, mpv_client, queue): +async def test_event_subscription(mpv_client, queue): async def event_handler(): event_data = await queue.get() queue.task_done() @@ -110,7 +110,7 @@ async def test_event_subscription(event_loop, mpv_client, queue): @pytest.mark.mpv @pytest.mark.asyncio -async def test_event_unsubscription(event_loop, mpv_client, queue): +async def test_event_unsubscription(mpv_client, queue): async def event_handler(): event_data = await queue.get() queue.task_done() -- 2.30.1