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:
Miss Islington (bot) 2022-12-31 16:20:53 -08:00 committed by GitHub
parent f7ad4ffa56
commit 0d57f10e40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):