Skip to content

Conversation

@tappress
Copy link

Fixed all errors in tests, but there are still some warnings left

========================================================================== warnings summary =========================================================================== 
tests/test_features.py::test_prepare_content
tests/test_features.py::test_socks5_proxy
  PycharmProjects\aiograph\venv\Lib\site-packages\aiohttp\connector.py:776: DeprecationWarning: The object should be created within an async function   
    super().__init__(

tests/test_features.py::test_prepare_content
  PycharmProjects\aiograph\venv\Lib\site-packages\aiohttp\connector.py:788: DeprecationWarning: The object should be created within an async function   
    resolver = DefaultResolver(loop=self._loop)

tests/test_features.py::test_prepare_content
tests/test_features.py::test_socks5_proxy
  PycharmProjects\aiograph\aiograph\api.py:134: DeprecationWarning: The object should be created within an async function
    self.session = aiohttp.ClientSession(connector=connector, loop=self.loop, json_serialize=json_serialize)

tests/test_features.py::test_prepare_content
tests/test_features.py::test_socks5_proxy
  PycharmProjects\aiograph\venv\Lib\site-packages\aiohttp\cookiejar.py:84: DeprecationWarning: The object should be created within an async function    
    super().__init__(loop=loop)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=================================================================== 32 passed, 7 warnings in 11.18s ===================================================================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant