-
Notifications
You must be signed in to change notification settings - Fork 915
Closed as not planned
Description
In #4811 we're adding a pytest config file to ignore these warnings, but if you delete it you'll see after running the pytests:
.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:169: 3692 warnings
/Users/goldbaum/Documents/pyo3/pytests/.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:169: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead
return asyncio.iscoroutinefunction(obj) or inspect.isasyncgenfunction(obj)
.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:433: 176 warnings
/Users/goldbaum/Documents/pyo3/pytests/.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:433: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead
return asyncio.iscoroutinefunction(func)
.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:498: 10 warnings
/Users/goldbaum/Documents/pyo3/pytests/.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:498: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead
and asyncio.iscoroutinefunction(func.hypothesis.inner_test)
tests/test_awaitable.py::test_iter_awaitable
/Users/goldbaum/Documents/pyo3/pytests/.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:1005: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
return asyncio.get_event_loop_policy()
tests/test_awaitable.py::test_iter_awaitable
tests/test_awaitable.py::test_future_awaitable
/Users/goldbaum/Documents/pyo3/pytests/.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:751: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
_restore_event_loop_policy(asyncio.get_event_loop_policy()),
tests/test_awaitable.py::test_iter_awaitable
tests/test_awaitable.py::test_future_awaitable
/Users/goldbaum/Documents/pyo3/pytests/.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:977: DeprecationWarning: 'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16
asyncio.set_event_loop_policy(new_loop_policy)
tests/test_awaitable.py::test_iter_awaitable
tests/test_awaitable.py::test_future_awaitable
/Users/goldbaum/Documents/pyo3/pytests/.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:978: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
loop = asyncio.get_event_loop_policy().new_event_loop()
tests/test_awaitable.py::test_iter_awaitable
tests/test_awaitable.py::test_future_awaitable
/Users/goldbaum/Documents/pyo3/pytests/.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:766: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
policy = asyncio.get_event_loop_policy()
tests/test_awaitable.py::test_iter_awaitable
tests/test_awaitable.py::test_future_awaitable
/Users/goldbaum/Documents/pyo3/pytests/.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:811: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
policy = asyncio.get_event_loop_policy()
tests/test_awaitable.py::test_iter_awaitable
tests/test_awaitable.py::test_future_awaitable
/Users/goldbaum/Documents/pyo3/pytests/.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:835: DeprecationWarning: 'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16
asyncio.set_event_loop_policy(previous_policy)
tests/test_awaitable.py::test_iter_awaitable
tests/test_awaitable.py::test_future_awaitable
/Users/goldbaum/Documents/pyo3/pytests/.nox/test/lib/python3.14t/site-packages/pytest_asyncio/plugin.py:847: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16
policy = asyncio.get_event_loop_policy()
Metadata
Metadata
Assignees
Labels
No labels