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:31:53 -08:00 committed by GitHub
parent f80ba44f7d
commit 83f85539a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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