This comes from python-prompt-toolkit. See here:
https://github.com/prompt-toolkit/python-prompt-toolkit/pull/1291
This was fixed in python-prompt-toolkit in December, I think in version
3.0.9. Sage is currently using 3.0.5. When we update to use a more recent
version of python-prompt-toolkit,
At the end of a run of some code I have run before, without seeing this:
/usr/local/sage/sage-9.3/local/lib/python3.9/site-packages/prompt_toolkit/renderer.py:514:
DeprecationWarning: The explicit passing of coroutine objec
ts to asyncio.wait() is deprecated since Python 3.8, and scheduled for
rem