From ff2de7402b68c0ed71cf9f12a2ef0e429a882068 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 7 Apr 2023 10:10:56 +0000 Subject: automatic import of python-pytest-asyncio --- python-pytest-asyncio.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'python-pytest-asyncio.spec') diff --git a/python-pytest-asyncio.spec b/python-pytest-asyncio.spec index 98b3cd5..a86fb11 100644 --- a/python-pytest-asyncio.spec +++ b/python-pytest-asyncio.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-pytest-asyncio -Version: 0.20.3 +Version: 0.21.0 Release: 1 Summary: Pytest support for asyncio License: Apache 2.0 URL: https://github.com/pytest-dev/pytest-asyncio -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6e/06/38b0ca5d53582bb49697626975b5540435ea064762d852b5c66646c729e9/pytest-asyncio-0.20.3.tar.gz +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/85/c7/9db0c6215f12f26b590c24acc96d048e03989315f198454540dff95109cd/pytest-asyncio-0.21.0.tar.gz BuildArch: noarch Requires: python3-pytest @@ -19,12 +19,13 @@ Requires: python3-mypy Requires: python3-pytest-trio %description -pytest-asyncio is a `pytest `_ plugin. It facilitates testing of code that uses the `asyncio `_ library. +`pytest-asyncio `_ is a `pytest `_ plugin. It facilitates testing of code that uses the `asyncio `_ library. Specifically, pytest-asyncio provides support for coroutines as test functions. This allows users to *await* code inside their tests. For example, the following code is executed as a test item by pytest: @pytest.mark.asyncio async def test_some_asyncio_code(): res = await library.do_something() assert b"expected result" == res +More details can be found in the `documentation `_. Note that test classes subclassing the standard `unittest `__ library are not supported. Users are advised to use `unittest.IsolatedAsyncioTestCase `__ or an async framework such as `asynctest `__. @@ -37,12 +38,13 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-pytest-asyncio -pytest-asyncio is a `pytest `_ plugin. It facilitates testing of code that uses the `asyncio `_ library. +`pytest-asyncio `_ is a `pytest `_ plugin. It facilitates testing of code that uses the `asyncio `_ library. Specifically, pytest-asyncio provides support for coroutines as test functions. This allows users to *await* code inside their tests. For example, the following code is executed as a test item by pytest: @pytest.mark.asyncio async def test_some_asyncio_code(): res = await library.do_something() assert b"expected result" == res +More details can be found in the `documentation `_. Note that test classes subclassing the standard `unittest `__ library are not supported. Users are advised to use `unittest.IsolatedAsyncioTestCase `__ or an async framework such as `asynctest `__. @@ -52,19 +54,20 @@ pytest-asyncio is available under the `Apache License 2.0 `_ plugin. It facilitates testing of code that uses the `asyncio `_ library. +`pytest-asyncio `_ is a `pytest `_ plugin. It facilitates testing of code that uses the `asyncio `_ library. Specifically, pytest-asyncio provides support for coroutines as test functions. This allows users to *await* code inside their tests. For example, the following code is executed as a test item by pytest: @pytest.mark.asyncio async def test_some_asyncio_code(): res = await library.do_something() assert b"expected result" == res +More details can be found in the `documentation `_. Note that test classes subclassing the standard `unittest `__ library are not supported. Users are advised to use `unittest.IsolatedAsyncioTestCase `__ or an async framework such as `asynctest `__. pytest-asyncio is available under the `Apache License 2.0 `_. %prep -%autosetup -n pytest-asyncio-0.20.3 +%autosetup -n pytest-asyncio-0.21.0 %build %py3_build @@ -104,5 +107,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Thu Mar 09 2023 Python_Bot - 0.20.3-1 +* Fri Apr 07 2023 Python_Bot - 0.21.0-1 - Package Spec generated -- cgit v1.2.3