Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for standard:ppc64le
openSUSE:Backports:SLE-15:Update
python-aiohttp
remove-failing-tests-due-to-pytest-timeout-issu...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File remove-failing-tests-due-to-pytest-timeout-issues.patch of Package python-aiohttp
From: Antonio Larrosa <alarrosa@suse.com> Remove failing test due to a DeprecationWarning being issued by pytest because pytest-timeout is using a wrong parameter when calling addoption. I tested changing pytest-timeout from using type='choice' to type=str and that passed the tests, so I choosed to remove the test while the fix gets to the python-pytest-timeout package. Index: aiohttp-3.0.1/tests/test_test_utils.py =================================================================== --- aiohttp-3.0.1.orig/tests/test_test_utils.py +++ aiohttp-3.0.1/tests/test_test_utils.py @@ -243,20 +243,6 @@ async def test_server_make_url_yarl_comp make_url(URL('http://foo.com')) -def test_testcase_no_app(testdir, loop): - testdir.makepyfile( - """ - from aiohttp.test_utils import AioHTTPTestCase - - - class InvalidTestCase(AioHTTPTestCase): - def test_noop(self): - pass - """) - result = testdir.runpytest() - result.stdout.fnmatch_lines(["*RuntimeError*"]) - - async def test_server_context_manager(app, loop): async with _TestServer(app, loop=loop) as server: async with aiohttp.ClientSession(loop=loop) as client:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor