Skip to content

Commit 1f6c87c

Browse files
authored
IDLE - fix module browser test (#100647)
1 parent baf2349 commit 1f6c87c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/idlelib/idle_test/test_browser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ def test_ondoubleclick(self, fopen):
170170

171171
with mock.patch('os.path.exists', return_value=True):
172172
mbt.OnDoubleClick()
173-
fopen.assert_called()
174-
fopen.called_with(fname)
173+
fopen.assert_called_once_with(fname)
175174

176175

177176
class ChildBrowserTreeItemTest(unittest.TestCase):

0 commit comments

Comments
 (0)