aiohttp icon indicating copy to clipboard operation
aiohttp copied to clipboard

Deprecate aiohttp.pytest_plugin

Open Dreamsorcerer opened this issue 8 months ago • 1 comments

Add deprecation warning in 3.12.

Dreamsorcerer avatar Apr 21 '25 14:04 Dreamsorcerer

:x: 1 Tests Failed:

Tests completed Failed Passed Skipped
1 1 0 0
View the top 1 failed test(s) by shortest run time
pytest internal
Stack Traces | 0s run time
Traceback (most recent call last):
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9....../site-packages/_pytest/main.py", line 283, in wrap_session
    session.exitstatus = doit(config, session) or 0
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9....../site-packages/_pytest/main.py", line 336, in _main
    config.hook.pytest_collection(session=session)
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9.../site-packages/pluggy/_hooks.py", line 513, in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9.../site-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9............/site-packages/pluggy/_callers.py", line 139, in _multicall
    raise exception.with_traceback(exception.__traceback__)
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9............/site-packages/pluggy/_callers.py", line 122, in _multicall
    teardown.throw(exception)  # type: ignore[union-attr]
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9.../site-packages/_pytest/logging.py", line 790, in pytest_collection
    return (yield)
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9............/site-packages/pluggy/_callers.py", line 122, in _multicall
    teardown.throw(exception)  # type: ignore[union-attr]
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9.../site-packages/_pytest/warnings.py", line 121, in pytest_collection
    return (yield)
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9............/site-packages/pluggy/_callers.py", line 124, in _multicall
    teardown.send(result)  # type: ignore[union-attr]
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9.../_pytest/config/__init__.py", line 1419, in pytest_collection
    self._validate_config_options()
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9.../_pytest/config/__init__.py", line 1441, in _validate_config_options
    self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9.../_pytest/config/__init__.py", line 1480, in _warn_or_fail_if_strict
    self.issue_config_time_warning(PytestConfigWarning(message), stacklevel=3)
  File ".../hostedtoolcache/Python/3.9.22........................................../x64/lib/python3.9.../_pytest/config/__init__.py", line 1532, in issue_config_time_warning
    warnings.warn(warning, stacklevel=stacklevel)
pytest.PytestConfigWarning: Unknown config option: asyncio_mode

To view more test analytics, go to the Test Analytics Dashboard 📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

codecov[bot] avatar Apr 21 '25 14:04 codecov[bot]