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

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
8b27bcb
Update __init__.py
sharktide Mar 4, 2025
18d5005
📜🤖 Added by blurb_it.
blurb-it[bot] Mar 4, 2025
e2a76c2
Update 2025-03-04-17-19-26.gh-issue-130693.Kv01r8.rst
sharktide Mar 4, 2025
753da3a
Update 2025-03-04-17-19-26.gh-issue-130693.Kv01r8.rst
sharktide Mar 5, 2025
1ca30c6
Update 2025-03-04-17-19-26.gh-issue-130693.Kv01r8.rst
sharktide Mar 5, 2025
548e36a
Merge branch 'python:main' into patch-130693
sharktide May 5, 2025
6ce83e3
pythongh-130693 Remove wordiness; only title left
sharktide May 5, 2025
39f5875
Update 2025-03-04-17-19-26.gh-issue-130693.Kv01r8.rst
sharktide May 30, 2025
ba0c98a
remove whitespace in Lib/tkinter/__init__.py
sharktide Jun 17, 2025
754a124
Revert formatting in Lib/tkinter/__init__.py
sharktide Jun 17, 2025
ffd95fa
Update news entry to use :meth: tags
sharktide Jun 17, 2025
72e70fc
Merge branch 'main' into patch-130693
sharktide Jun 17, 2025
6229bdf
Remove newlines in news entry
sharktide Jun 17, 2025
1843da6
Remove ref to nonexistent docs (needs to be fixed later)
sharktide Jun 17, 2025
7196a88
Use double backticks in news entry
sharktide Jun 17, 2025
2601ddf
Add test cases to test_text.py
sharktide Jun 18, 2025
6d18d2f
Fix test failures due to return type being tcl obj not tuple
sharktide Jun 18, 2025
b672353
Make linter happy
sharktide Jun 18, 2025
bb9a840
Fix test fails by making 1.10 assumption broader
sharktide Jun 18, 2025
cc80963
Try to fix test fails again
sharktide Jun 18, 2025
8c8409c
Update __init__.py
sharktide Jul 27, 2025
980a5e3
Merge options tests into test_search
sharktide Aug 10, 2025
fb30d25
Remove -all and -overlap from search() and create search_all()
sharktide Aug 10, 2025
d58a291
Explicitly return list and convert tcl objects into strings
sharktide Aug 10, 2025
d3621e2
Modify test_search to also test search_all()
sharktide Aug 10, 2025
dfe46c0
Add to whatsnew.rst
sharktide Aug 10, 2025
efc1685
Merge branch 'main' into patch-130693
sharktide Aug 10, 2025
a286199
Fix text fauilures
sharktide Aug 10, 2025
9cf844a
Update news entry
sharktide Aug 10, 2025
834d6d4
Update whatsnew again
sharktide Aug 10, 2025
e4c7bef
Fix fails, reword
sharktide Aug 10, 2025
7cb79b9
Fix lint fails, add heading in what’s new
sharktide Aug 11, 2025
026ded8
Remove breaking changes
sharktide Aug 11, 2025
430773c
Use self.tk._splitlist
sharktide Aug 11, 2025
2f5ad84
Use ASCII dashes and move to improved modules
sharktide Aug 11, 2025
71d2a60
Revert docstring and make search_all keyword only
sharktide Aug 11, 2025
77831d4
Allow for other return types in list
sharktide Aug 11, 2025
1daff0f
Value based assertions
sharktide Aug 11, 2025
422aa6f
Remove - where not necessary, add newlines
sharktide Aug 11, 2025
1328308
Fix test fails
sharktide Aug 11, 2025
6e3d0c9
Update type expectations from list to tuple
sharktide Aug 11, 2025
6c6520b
Update assertion values
sharktide Aug 11, 2025
2852ee2
Use suggestions
sharktide Aug 11, 2025
9604fcb
Merge branch 'main' into patch-130693
sharktide Sep 1, 2025
0e50ded
Remove unrelated change
sharktide Nov 16, 2025
6ef05e3
Remove unrelated changes #2
sharktide Nov 16, 2025
c0b7772
Enhance regex tests for text widget
sharktide Nov 16, 2025
342a19c
Simplify test_search_all assertions in test_text.py
sharktide Nov 16, 2025
64b9930
Update test assertion for search_all method
sharktide Nov 16, 2025
caceee3
Remove nolinestop parameter from text.search
sharktide Nov 16, 2025
37577eb
Merge branch 'main' into patch-130693
sharktide Nov 16, 2025
7e331be
Fix expected results in search_all test case
sharktide Nov 16, 2025
1f64ef2
Remove unnecessary comment
sharktide Nov 16, 2025
b40b474
Improve tests.
serhiy-storchaka Nov 17, 2025
bc1685b
Add more tests.
serhiy-storchaka Nov 17, 2025
d675252
Make new parameters keyword-only.
serhiy-storchaka Nov 17, 2025
e145e60
Add more tests. Only ignore stopindex if it is None.
serhiy-storchaka Nov 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try to fix test fails again
  • Loading branch information
sharktide authored Jun 18, 2025
commit cc809639e8ac8a59c11cfe0b3af9d75f64650a5e
6 changes: 2 additions & 4 deletions Lib/test/test_tkinter/test_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,8 @@ def test_all(self):

def test_overlap(self):
result = self.text.search('test', '1.0', 'end', all=True, overlap=True)
indices = result.split()
self.assertGreaterEqual(len(indices), 2)
for index in indices:
self.assertRegex(index, r'^\d+\.\d+$')
self.assertIsInstance(result, str)
self.assertIn("textindex", result)

def test_strictlimits(self):
result = self.text.search('test', '1.0', '1.20', strictlimits=True)
Expand Down
Loading