Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit caceee3

Browse files
authored
Remove nolinestop parameter from text.search
1 parent 64b9930 commit caceee3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_tkinter/test_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_search(self):
4747
'Another line.\n'
4848
'Yet another line.')
4949

50-
result_plain = text.search('line', '1.0', 'end', nolinestop=True)
50+
result_plain = text.search('line', '1.0', 'end')
5151
self.assertEqual(result_plain, '2.8')
5252

5353
# With regexp (same literal pattern, should behave the same)

0 commit comments

Comments
 (0)