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

Skip to content

Commit 64b9930

Browse files
authored
Update test assertion for search_all method
1 parent 342a19c commit 64b9930

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
@@ -67,7 +67,7 @@ def test_search_all(self):
6767

6868
all_res = text.search_all('aba', '1.0', 'end')
6969
all_res_strs = [str(i) for i in all_res]
70-
self.assertEqual(all_res_strs, ['1.0', '1.2'])
70+
self.assertEqual(all_res_strs, ['1.0'])
7171

7272
overlap_res = text.search_all('aba', '1.0', 'end', overlap=True)
7373
overlap_res_strs = [str(i) for i in overlap_res]

0 commit comments

Comments
 (0)