| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
… as marked as "severely broken"
This reverts commit d8a34e1.
|
Impressive, I'm just going to merge this to unblock further good work. Thanks a lot! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
To help check the usability of the Python3 MapScript bindings (see #5561, #5290) it will be useful to run the MapScript test suite to see which tests fail.
The Python2 unit tests have not been maintained for a number of years. This pull request aims to fix the tests in Python2 before running on Python3.
Some tests can be fixed by simply updating the API, such as adding A values to RGBA related-tests. Other failing tests are more complicated - comments have been added to individual commits.
Several failing tests relate to creating new image objects - marked with comments in the code noting "imageObj() is severely broken and should not be used". It may be time to clean up this code and remove the section of code marked #ifdef FORCE_BROKEN_GD_CODE
Several errors also relate to testing the getFeature/getResultsShape methods. These no longer exist, see:
These tests have been commented out for the moment, and may be deleted if no longer relevant.