mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
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:
parent
c05a851ac5
commit
dbb25ce037
7 changed files with 11 additions and 11 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue