Python 3.11: Deselect some tests due to upstream issue #6757

https://github.com/aio-libs/aiohttp/issues/6757
This commit is contained in:
Miro Hrončok 2022-06-08 16:04:05 +02:00
parent 65a417e586
commit 500b86a004
1 changed files with 3 additions and 1 deletions

View File

@ -93,8 +93,10 @@ cython -3 aiohttp/*.pyx -I aiohttp
%check
# test_proxy_functional.py requires python3dist(proxy-py)
# test_client_session_timeout_zero requires DNS
# reading_headers, test_data_stream_exc_chain, TestCase::test_default_loop,
# test_on_startup_hook, TestAioHTTPTestCase -- see https://github.com/aio-libs/aiohttp/issues/6757
%pytest --ignore=tests/test_proxy_functional.py \
-k 'not test_client_session_timeout_zero'
-k 'not test_client_session_timeout_zero and not reading_headers and not test_data_stream_exc_chain and not (TestCase and test_default_loop) and not test_on_startup_hook and not TestAioHTTPTestCase'
%endif
%files -n python3-%{srcname}