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 5
5
6
6
from __future__ import annotations
7
7
8
- from functools import partial
9
8
import io
10
- import sys
9
+ from functools import partial
11
10
12
11
import pytest
13
12
14
13
from prompt_toolkit .clipboard import ClipboardData , InMemoryClipboard
15
- from prompt_toolkit .data_structures import Size
16
14
from prompt_toolkit .enums import EditingMode
17
15
from prompt_toolkit .filters import ViInsertMode
18
16
from prompt_toolkit .history import InMemoryHistory
22
20
from prompt_toolkit .key_binding .key_bindings import KeyBindings
23
21
from prompt_toolkit .output import DummyOutput
24
22
from prompt_toolkit .output .plain_text import PlainTextOutput
25
- from prompt_toolkit .output .vt100 import Vt100_Output
26
23
from prompt_toolkit .shortcuts import PromptSession
27
24
28
25
@@ -106,7 +103,7 @@ def test_visible_password():
106
103
107
104
# Test that the string is made up only of `*` characters
108
105
assert actual_output == "*" * len (actual_output ), actual_output
109
-
106
+
110
107
# Test that the string is long as much as the original password,
111
108
# minus the needed carriage return.
112
109
assert actual_output == "*" * len (password .strip ()), actual_output
You can’t perform that action at this time.
0 commit comments