- EditorWindow.test() was failing. Bug 1417598
M EditorWindow.py
M ScriptBinding.py
M NEWS.txt
diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py
index 084c607..878425d 100644
--- a/Lib/idlelib/ScriptBinding.py
+++ b/Lib/idlelib/ScriptBinding.py
@@ -51,7 +51,7 @@
# Provide instance variables referenced by Debugger
# XXX This should be done differently
self.flist = self.editwin.flist
- self.root = self.flist.root
+ self.root = self.editwin.root
def check_module_event(self, event):
filename = self.getfilename()