@@ -212,7 +212,7 @@ def test_finds_existing_text(self, window, qtbot):
212212 window ._on_find_clicked ()
213213 assert window ._plain_text_edit .textCursor ().hasSelection ()
214214
215- def test_wraps_when_not_found_from_end (self , window , qtbot ):
215+ def test_wraps_when_not_found_from_end (self , window ):
216216 """find() returns False → cursor wraps to start — lines 267-271."""
217217 window ._plain_text_edit .setPlainText ("hello" )
218218 # Move cursor to end so the first find('hello') misses
@@ -230,7 +230,7 @@ def test_empty_find_term_is_no_op(self, window):
230230 window ._find_edit .setText ("" )
231231 window ._on_replace_clicked () # should not raise
232232
233- def test_replace_with_no_selection_calls_find (self , window , qtbot ):
233+ def test_replace_with_no_selection_calls_find (self , window ):
234234 """No selection → skips replacement, falls through to find — lines 279-282."""
235235 window ._plain_text_edit .setPlainText ("hello world" )
236236 window ._find_edit .setText ("hello" )
@@ -239,7 +239,7 @@ def test_replace_with_no_selection_calls_find(self, window, qtbot):
239239 # find() advances cursor to 'hello' after replace falls through
240240 assert window ._plain_text_edit .textCursor ().hasSelection ()
241241
242- def test_replace_matching_selection_inserts_replacement (self , window , qtbot ):
242+ def test_replace_matching_selection_inserts_replacement (self , window ):
243243 """Matching selection → text replaced — line 281."""
244244 window ._plain_text_edit .setPlainText ("hello world" )
245245 window ._find_edit .setText ("hello" )
0 commit comments