mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
IDLE - fix module browser test (GH-100647)
(cherry picked from commit 1f6c87ca7b)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
f7ad4ffa56
commit
0d57f10e40
1 changed files with 1 additions and 2 deletions
|
|
@ -170,8 +170,7 @@ class ModuleBrowserTreeItemTest(unittest.TestCase):
|
|||
|
||||
with mock.patch('os.path.exists', return_value=True):
|
||||
mbt.OnDoubleClick()
|
||||
fopen.assert_called()
|
||||
fopen.called_with(fname)
|
||||
fopen.assert_called_once_with(fname)
|
||||
|
||||
|
||||
class ChildBrowserTreeItemTest(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue