Mailing list archives: April 2006

Site index · List index
Message listThread · Author · Date
;quot;" + str (lastWidgetValue) + '"' ) </span><span class="add">+ lastWidgetValue = properties.get ("lastWidgetValue", None) + if lastWidgetValue is not None: + value = GetValueMethod() </span><span class="cx"> </span><span class="add">+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u"Welcome to Chandler 0.7.dev-r"):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom "\", doesn't match the value when the script was recorded: \"" + str (lastWidgetValue) + '"' ) </span><span class="add">+ lastWidgetValue = properties.get ("lastWidgetValue", None) + if lastWidgetValue is not None: + value = GetValueMethod() </span><span class="cx"> </span><span class="add">+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u"Welcome to Chandler 0.7.dev-r"):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right..
<mgibea...@alto-design.com>   ;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Fri, 04 Nov, 09:00
lt   ;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Tue, 19 Apr, 06:07
SentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right..
Parlante   SentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sat, 09 Apr, 03:30
Parlante   SentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sat, 09 Apr, 03:30
Parlante   SentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sat, 09 Apr, 03:30
Parlante   SentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sat, 09 Apr, 03:30
Parlante   SentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sat, 09 Apr, 03:30
j..@osafoundation.org   SentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Tue, 20 Jun, 09:20
tSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right..
mi...@kapor.com   tSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 27 Oct, 05:30
mi...@kapor.com   tSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 27 Oct, 05:30
ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right..
mimi...@gmail.com>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 01 Feb, 17:56
al...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 21 Sep, 16:56
al...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 21 Sep, 16:56
al...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 21 Sep, 16:56
al...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 21 Sep, 16:56
al...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 21 Sep, 16:56
al...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 21 Sep, 16:56
al...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 21 Sep, 16:56
al...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 21 Sep, 16:56
al...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 21 Sep, 16:56
al...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 21 Sep, 16:56
al...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 21 Sep, 16:56
al...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 21 Sep, 16:56
j..@spincycle.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Tue, 22 Sep, 18:03
j..@spincycle.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Tue, 22 Sep, 18:03
j..@spincycle.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Tue, 22 Sep, 18:03
est...@osafoundation.org>   ot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Tue, 28 Oct, 00:35
<joelfin...@hotmail.com> m&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Tue, 26 Jul, 16:12
value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sat, 07 Apr, 02:32
ToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right..
ic   ToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sun, 07 Jun, 03:49
ic   ToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sun, 07 Jun, 03:49
ic   ToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sun, 07 Jun, 03:49
ic   ToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sun, 07 Jun, 03:49
ic   ToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sun, 07 Jun, 03:49
ic   ToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sun, 07 Jun, 03:49
e ;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Tue, 18 Feb, 17:56
lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right..
b.@osafoundation.org   lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 25 Apr, 03:33
b.@osafoundation.org   lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 25 Apr, 03:33
b.@osafoundation.org   lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 25 Apr, 03:33
b.@osafoundation.org   lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 25 Apr, 03:33
b.@osafoundation.org   lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 25 Apr, 03:33
b.@osafoundation.org   lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 25 Apr, 03:33
b.@osafoundation.org   lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 25 Apr, 03:33
b.@osafoundation.org   lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Thu, 25 Apr, 03:33
han hod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Wed, 26 Aug, 10:54
t;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right..
  t;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sat, 27 Mar, 00:21
  t;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Sat, 27 Mar, 00:21
dget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right..
d   dget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 05 Jan, 18:43
d   dget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 05 Jan, 18:43
d   dget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 05 Jan, 18:43
d   dget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 05 Jan, 18:43
d   dget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 05 Jan, 18:43
  dget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Tue, 20 Dec, 12:56
  dget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Tue, 20 Dec, 12:56
  dget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Tue, 20 Dec, 12:56
Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right..
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected id&amp;quot; - else: - assert focusWindow.GetId() &amp;lt; 0, &amp;quot;Focus window has unexpected id&amp;quot; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ (wx.Platform == &amp;quot;__WXGTK__&amp;quot; and isinstance (sentToWidget, wx.ToolBar)) or + lastSentToWidget is None): + assert focusWindow is nameToWidget (newFocusWindow), &amp;quot;An unexpected window has the focus&amp;quot; &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; # Check to make sure last event caused expected change &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- lastSentToWidget = ProcessEvent.lastSentToWidget &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject): GetValueMethod = getattr (lastSentToWidget, &amp;quot;GetValue&amp;quot;, None) else: GetValueMethod = None &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- assert properties.has_key (&amp;quot;lastWidgetValue&amp;quot;) == (GetValueMethod is not None), &amp;quot;widget's value existance doesn't match existance when the script was recorded&amp;quot; - &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; if GetValueMethod is not None: &lt;/span&gt;&lt;span class=&quot;rem&quot;&gt;- value = GetValueMethod() - lastWidgetValue = properties [&amp;quot;lastWidgetValue&amp;quot;] - # Special hackery for string that varies depending on Chandler build - if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if lastWidgetValue is not None: + value = GetValueMethod() &lt;/span&gt;&lt;span class=&quot;cx&quot;&gt; &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ # Special hackery for string that varies depending on Chandler build + if type (value) is unicode and value.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;):tion&quot;[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. Mon, 03 May, 09:42
m.@osafoundation.org>   Welcome to Chandler 0.7.dev-r&amp;quot;): - assert lastWidgetValue.startswith (u&amp;quot;Welcome to Chandler 0.7.dev-r&amp;quot;) - else: - assert value == lastWidgetValue, ( - &amp;quot;widget's value, \&amp;quot;&amp;quot; + str(value) + - &amp;quot;\&amp;quot;, doesn't match the value when the script was recorded: \&amp;quot;&amp;quot; + str (lastWidgetValue) + '&amp;quot;' ) &lt;/span&gt;&lt;span class=&quot;add&quot;&gt;+ lastWidgetValue = properties.get (&amp;quot;lastWidgetValue&amp;quot;, None) + if l &amp;quot;, is not class &amp;quot; + str (ProcessEvent.newFocusWindowClass) + - &amp;quot;. Parent window is &amp;quot; + str (focusWindow.GetParent()) ) - if newFocusWindow &amp;gt; 0: - assert focusWindow.GetId() == newFocusWindow, &amp;quot;Focus window has unexpected i