gh-71339: Use new assertion methods in test_idle (#129213)

Revise 10 tests in 7 files, with 1 test split into 2.
This commit is contained in:
Terry Jan Reedy 2025-01-23 13:25:14 -05:00 committed by GitHub
parent c05a851ac5
commit dbb25ce037
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 11 additions and 11 deletions

View file

@ -256,7 +256,7 @@ def test_init(self):
flist = None
master_window = self.root
sv = debugger.StackViewer(master_window, flist, gui)
self.assertTrue(hasattr(sv, 'stack'))
self.assertHasAttr(sv, 'stack')
def test_load_stack(self):
# Test the .load_stack() method against a fixed test stack.