mirror of
https://github.com/python/cpython.git
synced 2026-02-13 19:04:37 +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
f80ba44f7d
commit
83f85539a1
1 changed files with 1 additions and 2 deletions
|
|
@ -170,8 +170,7 @@ def test_ondoubleclick(self, fopen):
|
|||
|
||||
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