Commit Graph

11 Commits

Author SHA1 Message Date
Metallicow
9568103974 Trim trailing space unittests directory 2016-12-05 16:19:11 -06:00
Robin Dunn
f5f3ec2147 uiaction test tweaks 2016-07-04 15:51:43 -07: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
29119c37f8 Skip wx.UIActionSimulator.Char and .Text tests on OSX 2016-02-26 15:23:31 -08:00
Robin Dunn
e45b7667f8 get the uiaction tests working on OSX again, mostly 2015-12-23 17:36:03 -08:00
Robin Dunn
9289a7cf84 Various tweaks and updates for unittests 2015-03-25 20:40:01 -07:00
Andrea Gavana
b4f61b591e Phoenix: fix unit test for test_uiaction.py (assertEqual needs 2 args)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:17:20 +00:00
Robin Dunn
73dcef083f No longer need to skip these tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-10 04:54:48 +00:00
Robin Dunn
b41df0b779 Many, many (many!) changes needed to build and run the Phoenix extension modules with Python 3. Where possible changes were made such that the code works with both Python 2.7 and 3.2 without conditionals. In general the following types of changes were made:
* Changed imports to use either absolute or explicit relative imports.  Implicit relative imports are no longer allowed.

 * Changes to accomodate standard library classes or modues moving to other locations, or being removed entirely.

 * Changes related to print becoming a function, execfile being removed, u'' no longer allowed, and other syntax related issues.

 * Working around C APIs that have changed or simply vanished. (PyInt, PyString, PyBytes, etc.)

 * Dealing with text file objects using strings vs binary file objects using bytes, auto-encoding, and etc.

 * Replacing the use of PyCObject with PyCapsule and dealing with an apparent bug where PyCapsule objects can't be imported from submodules within a package.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-24 23:28:02 +00:00
Robin Dunn
d72d3532da Add uiaction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-10 18:57:57 +00:00