Commit Graph

10 Commits

Author SHA1 Message Date
Robin Dunn
52facb4d7f Add a GetIM() method to Colour, Point, Size, Rect and other ‘value’ types.
GetIM() returns a replicant of the original object that is immutable, so it can be used as a dictionary key, or etc., but still gives access to the properties by name, which using the Get() method to get a tuple of the values does not do.
2017-04-14 19:19:26 -07:00
Metallicow
9568103974 Trim trailing space unittests directory 2016-12-05 16:19:11 -06:00
Scott Talbert
2afff849d5 Fix abstract class tests - check for TypeError instead of expected failure 2016-09-09 21:25:40 -04:00
Robin Dunn
bb01dc0d7f Use absolute import of wtc in the unittest modules, instead of depending on them being run as __main__ and getting the folder on the sys.path by default. 2016-06-30 16:49:19 -07:00
Robin Dunn
4f38ee259d Remove imp_unittest 2016-05-07 19:16:28 -07:00
Robin Dunn
3a44ba8f0b Fix __setitem__ and add another test 2015-03-12 10:15:58 -07:00
Robin Dunn
b3089a52e8 Add Get() and sequence protocol methods to RichTextRange 2015-03-12 10:15:58 -07:00
Robin Dunn
b0842a986d More unittests and fixes for issues found by the tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:37:23 +00:00
Robin Dunn
543dcf303a Add some richtextbuffer unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:36:53 +00:00
Robin Dunn
ce4424c4ea Initial add of richtext modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:28:44 +00:00