diff options
author | Jason Rosenzweig <mail4jasonr@gmail.com> | 2021-06-04 10:04:34 +0800 |
---|---|---|
committer | Jason Rosenzweig <mail4jasonr@gmail.com> | 2021-06-04 10:04:34 +0800 |
commit | df28469d441266b45708cf065d6c0432f90c1819 (patch) | |
tree | 4490c261eae69ec2850d56fc33a7fab201b62f32 /tests | |
parent | 4fc17293b02ee8e27f31143364545e1b23991257 (diff) | |
download | qutebrowser-df28469d441266b45708cf065d6c0432f90c1819.tar.gz qutebrowser-df28469d441266b45708cf065d6c0432f90c1819.zip |
Fixed indentation, typing
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/mainwindow/test_prompt.py | 5 |
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()) |