Skip to content

Commit 78b83a1

Browse files
committed
ruff format
1 parent c2e9da5 commit 78b83a1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/test_cli.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@
55

66
from __future__ import annotations
77

8-
from functools import partial
98
import io
10-
import sys
9+
from functools import partial
1110

1211
import pytest
1312

1413
from prompt_toolkit.clipboard import ClipboardData, InMemoryClipboard
15-
from prompt_toolkit.data_structures import Size
1614
from prompt_toolkit.enums import EditingMode
1715
from prompt_toolkit.filters import ViInsertMode
1816
from prompt_toolkit.history import InMemoryHistory
@@ -22,7 +20,6 @@
2220
from prompt_toolkit.key_binding.key_bindings import KeyBindings
2321
from prompt_toolkit.output import DummyOutput
2422
from prompt_toolkit.output.plain_text import PlainTextOutput
25-
from prompt_toolkit.output.vt100 import Vt100_Output
2623
from 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

0 commit comments

Comments
 (0)