diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-12-11 10:59:41 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-12-11 11:40:57 +0300 |
commit | 708e84a1342eccd8b69c761dd2916e33503a883a (patch) | |
tree | ee90cd4ab26e843c00724b957ef247cc3d1b6f9f /contrib/python/prompt-toolkit/py3/tests | |
parent | 425d65a76c5bda62894f93d32f1f5e32f7439539 (diff) | |
download | ydb-708e84a1342eccd8b69c761dd2916e33503a883a.tar.gz |
Update contrib/python/prompt-toolkit/py3 to 3.0.41
Diffstat (limited to 'contrib/python/prompt-toolkit/py3/tests')
-rw-r--r-- | contrib/python/prompt-toolkit/py3/tests/test_cli.py | 2 | ||||
-rw-r--r-- | contrib/python/prompt-toolkit/py3/tests/test_filter.py | 2 | ||||
-rw-r--r-- | contrib/python/prompt-toolkit/py3/tests/test_shortcuts.py | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/contrib/python/prompt-toolkit/py3/tests/test_cli.py b/contrib/python/prompt-toolkit/py3/tests/test_cli.py index 39aeedd45d..3a16e9fbd3 100644 --- a/contrib/python/prompt-toolkit/py3/tests/test_cli.py +++ b/contrib/python/prompt-toolkit/py3/tests/test_cli.py @@ -190,7 +190,7 @@ def test_emacs_cursor_movements(): def test_emacs_kill_multiple_words_and_paste(): # Using control-w twice should place both words on the clipboard. result, cli = _feed_cli_with_input( - "hello world test" "\x17\x17" "--\x19\x19\r" # Twice c-w. # Twice c-y. + "hello world test\x17\x17--\x19\x19\r" # Twice c-w. Twice c-y. ) assert result.text == "hello --world testworld test" assert cli.clipboard.get_data().text == "world test" diff --git a/contrib/python/prompt-toolkit/py3/tests/test_filter.py b/contrib/python/prompt-toolkit/py3/tests/test_filter.py index 9f133969e8..f7184c286f 100644 --- a/contrib/python/prompt-toolkit/py3/tests/test_filter.py +++ b/contrib/python/prompt-toolkit/py3/tests/test_filter.py @@ -1,7 +1,5 @@ from __future__ import annotations -import gc - import pytest from prompt_toolkit.filters import Always, Condition, Filter, Never, to_filter diff --git a/contrib/python/prompt-toolkit/py3/tests/test_shortcuts.py b/contrib/python/prompt-toolkit/py3/tests/test_shortcuts.py index 2c0a84b67a..287c6d33a6 100644 --- a/contrib/python/prompt-toolkit/py3/tests/test_shortcuts.py +++ b/contrib/python/prompt-toolkit/py3/tests/test_shortcuts.py @@ -2,7 +2,6 @@ from __future__ import annotations from prompt_toolkit.shortcuts import print_container from prompt_toolkit.shortcuts.prompt import _split_multiline_prompt -from prompt_toolkit.shortcuts.utils import print_container from prompt_toolkit.widgets import Frame, TextArea |