|
;quot;" + str (lastWidgetValue) + '"' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. |
|
| <mgibea...@alto-design.com> |
;quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. |
Fri, 04 Nov, 09:00 |
| lt |
;quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. |
|
| Parlante |
SentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. |
Tue, 28 Oct, 00:35 |
| <joelfin...@hotmail.com> |
m">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. |
Tue, 26 Jul, 16:12 |
|
value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. |
Wed, 26 Aug, 10:54 |
|
t;/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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. |
|
|
t;/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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - get my sign right.. |
Sat, 27 Mar, 00:21 |
|
t;/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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected id&quot;
- else:
- assert focusWindow.GetId() &lt; 0, &quot;Focus window has unexpected id&quot;
</span><span class="add">+ (wx.Platform == &quot;__WXGTK__&quot; and isinstance (sentToWidget, wx.ToolBar)) or
+ lastSentToWidget is None):
+ assert focusWindow is nameToWidget (newFocusWindow), &quot;An unexpected window has the focus&quot;
</span><span class="cx">
# Check to make sure last event caused expected change
</span><span class="rem">- lastSentToWidget = ProcessEvent.lastSentToWidget
</span><span class="cx"> if lastSentToWidget is not None and not isinstance (lastSentToWidget, wx._core._wxPyDeadObject):
GetValueMethod = getattr (lastSentToWidget, &quot;GetValue&quot;, None)
else:
GetValueMethod = None
</span><span class="rem">- assert properties.has_key (&quot;lastWidgetValue&quot;) == (GetValueMethod is not None), &quot;widget's value existance doesn't match existance when the script was recorded&quot;
-
</span><span class="cx"> if GetValueMethod is not None:
</span><span class="rem">- value = GetValueMethod()
- lastWidgetValue = properties [&quot;lastWidgetValue&quot;]
- # Special hackery for string that varies depending on Chandler build
- if type (value) is unicode and value.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[commits] (alecf) [7967] *sigh* I swear I tested it this time - getlcom &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, 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&quot;Welcome to Chandler 0.7.dev-r&quot;):tion"[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&quot;):
- assert lastWidgetValue.startswith (u&quot;Welcome to Chandler 0.7.dev-r&quot;)
- else:
- assert value == lastWidgetValue, (
- &quot;widget's value, \&quot;&quot; + str(value) +
- &quot;\&quot;, doesn't match the value when the script was recorded: \&quot;&quot; + str (lastWidgetValue) + '&quot;' )
</span><span class="add">+ lastWidgetValue = properties.get (&quot;lastWidgetValue&quot;, None)
+ if l &quot;, is not class &quot; + str (ProcessEvent.newFocusWindowClass) +
- &quot;. Parent window is &quot; + str (focusWindow.GetParent()) )
- if newFocusWindow &gt; 0:
- assert focusWindow.GetId() == newFocusWindow, &quot;Focus window has unexpected i |