mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
Trim trailing space unittests directory
This commit is contained in:
@@ -11,15 +11,15 @@ class lib_stattext_Tests(wtc.WidgetTestCase):
|
||||
pnl = wx.Panel(self.frame)
|
||||
w = wx.lib.stattext.GenStaticText(pnl, label="This is a test", pos=(10,10))
|
||||
bs1 = w.GetEffectiveMinSize()
|
||||
|
||||
|
||||
w.SetLabel("This is a New Label")
|
||||
w.SetFont(wx.FFont(16, wx.FONTFAMILY_ROMAN))
|
||||
bs2 = w.GetEffectiveMinSize()
|
||||
|
||||
|
||||
self.assertEqual(w.GetLabel(), "This is a New Label")
|
||||
self.assertEqual(w.Label, "This is a New Label")
|
||||
self.assertTrue(bs2.height > bs1.height)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user