Skip to content

Commit 3ce95d3

Browse files
committed
Merge remote-tracking branch 'origin/idle' into idle
2 parents 5614c28 + 7a88c34 commit 3ce95d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/idlelib/idle_test/test_iomenu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def mock_showinfo(*args, **kwargs):
7979
result = io.reload(None)
8080
self.assertEqual(result, "break")
8181
self.assertEqual(len(showinfo_called), 1)
82-
self.assertIn("No File", showinfo_called[0][0])
82+
self.assertIn("File Not Found", showinfo_called[0][0])
8383
finally:
8484
iomenu.messagebox.showinfo = orig_showinfo
8585

Lib/idlelib/iomenu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def reload(self, event):
246246
"""
247247
if not self.filename:
248248
messagebox.showinfo(
249-
File Not Found",
249+
"File Not Found",
250250
"This window has no associated file to reload.",
251251
parent=self.text)
252252
self.text.focus_set()

0 commit comments

Comments
 (0)