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:
openSUSE Build Service is sponsored by