summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/mainwindow/test_prompt.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/unit/mainwindow/test_prompt.py b/tests/unit/mainwindow/test_prompt.py
index 48bc703a7..09c8ef6f6 100644
--- a/tests/unit/mainwindow/test_prompt.py
+++ b/tests/unit/mainwindow/test_prompt.py
@@ -116,10 +116,7 @@ class TestFileCompletion:
visible = []
for row in range(num_rows):
parent = prompt._file_model.index(
- os.path.basename(
- prompt._lineedit.text()
- )
- )
+ os.path.basename(prompt._lineedit.text()))
index = prompt._file_model.index(row, 0, parent)
if prompt._file_view.isRowHidden(index.row(), index.parent()):
visible.append(index.data())