Open carlwgeorge opened 1 year ago
Hi @carlwgeorge, can you check whether this is still the case with the latest release (3.0.37)?
With python 3.12.0a5 and prompt-toolkit 3.0.37, all the tests now pass. There are five warnings.
====================================================== warnings summary ======================================================
tests/test_key_binding.py::test_feed_simple
tests/test_key_binding.py::test_feed_several
tests/test_key_binding.py::test_control_square_closed_any
tests/test_key_binding.py::test_common_prefix
tests/test_key_binding.py::test_previous_key_sequence
/home/carl/development/prompt-toolkit/src/prompt_toolkit/key_binding/key_processor.py:413: RuntimeWarning: coroutine 'KeyProcessor._start_timeout.<locals>.wait' was never awaited
self._flush_wait_task = app.create_background_task(wait())
Enable tracemalloc to get traceback where the object was allocated.
See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================== 145 passed, 1 xpassed, 5 warnings in 13.81s =========================================
Breaking this issue out from https://github.com/prompt-toolkit/python-prompt-toolkit/pull/1714#issuecomment-1411115166.
The follow tests fail when run on Python 3.12.0a4.
The full output for
test_emacs_arguments_for_all_commands
is in that other issue. I'm happy to post the output from any of these individual tests, but I figured I wouldn't overload the issue with off of the output unless needed.