gh-155648: Fix IDLE tests that cannot fail (#156257)
test_autocomplete.py:241 passes when proper because any([]) is True is true. It would also pass if small only had underscored words because the filter got reversed. Change logic and replace filter with generator expression
using slice instead of startswith. Change line 242 to match.
test_editor.py:236 and test_configdialog.py:55 have empty tests ('pass'); skip them for now.
PR-#156260 add real tests.
template.py:25 tests True == True; skip it. With this, the bug scanner should be satisfied while allowing
setUpClass and tearDownClass to run and be verified.
Remove duplicate and confusing fetch_completions call. T
Terry Jan Reedy committed
ee1da7ec8e939a998d5ecf2c749d45eb8f7714e4
Parent: f897dbf
Committed by GitHub <noreply@github.com>
on 8/24/2026, 2:24:09 PM