File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 55
66from __future__ import annotations
77
8- from functools import partial
98import io
10- import sys
9+ from functools import partial
1110
1211import pytest
1312
1413from prompt_toolkit .clipboard import ClipboardData , InMemoryClipboard
15- from prompt_toolkit .data_structures import Size
1614from prompt_toolkit .enums import EditingMode
1715from prompt_toolkit .filters import ViInsertMode
1816from prompt_toolkit .history import InMemoryHistory
2220from prompt_toolkit .key_binding .key_bindings import KeyBindings
2321from prompt_toolkit .output import DummyOutput
2422from prompt_toolkit .output .plain_text import PlainTextOutput
25- from prompt_toolkit .output .vt100 import Vt100_Output
2623from prompt_toolkit .shortcuts import PromptSession
2724
2825
@@ -106,7 +103,7 @@ def test_visible_password():
106103
107104 # Test that the string is made up only of `*` characters
108105 assert actual_output == "*" * len (actual_output ), actual_output
109-
106+
110107 # Test that the string is long as much as the original password,
111108 # minus the needed carriage return.
112109 assert actual_output == "*" * len (password .strip ()), actual_output
You can’t perform that action at this time.
0 commit comments