We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5614c28 + 7a88c34 commit 3ce95d3Copy full SHA for 3ce95d3
Lib/idlelib/idle_test/test_iomenu.py
@@ -79,7 +79,7 @@ def mock_showinfo(*args, **kwargs):
79
result = io.reload(None)
80
self.assertEqual(result, "break")
81
self.assertEqual(len(showinfo_called), 1)
82
- self.assertIn("No File", showinfo_called[0][0])
+ self.assertIn("File Not Found", showinfo_called[0][0])
83
finally:
84
iomenu.messagebox.showinfo = orig_showinfo
85
Lib/idlelib/iomenu.py
@@ -246,7 +246,7 @@ def reload(self, event):
246
"""
247
if not self.filename:
248
messagebox.showinfo(
249
- “File Not Found",
+ "File Not Found",
250
"This window has no associated file to reload.",
251
parent=self.text)
252
self.text.focus_set()
0 commit comments