summaryrefslogtreecommitdiff
path: root/tools/swig/test
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Replace deprecated unittest aliasesHugo van Kemenade2021-08-181-11/+11
|
* Fix swig testsMathieu Lamarre2020-03-134-53/+59
| | | | | resize typemap issue python 3 bytes vs str issue
* convert shebang from python to python3 (#15687)Changqing Li2020-03-049-9/+9
| | | | Signed-off-by: Changqing Li <changqing.li@windriver.com>
* MAINT: cleanup unused imports; avoid redefinition of importsMike Taves2020-02-068-16/+0
| | | | | | | * Cleanup unused imports (F401) of mostly standard Python modules, or some internal but unlikely referenced modules * Where internal imports are potentially used, mark with noqa * Avoid redefinition of imports (F811)
* MAINT: resolve pyflake F403 'from module import *' usedMike Taves2020-01-231-1/+1
| | | | | | * For external modules, resolve imported members * Most internal relative modules were ignored or marked noqa: F403 * Convert a few internal absolute imports to relative imports
* MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-039-18/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* Use *sys.version_info[:2]Hugo2019-08-261-1/+1
|
* BUG: Fix for Python 3.10Hugo2019-08-261-1/+1
|
* Fix deprecated ``assertEquals()``Nicola Soranzo2019-04-236-30/+30
| | | | See https://docs.python.org/2/library/unittest.html#deprecated-aliases
* MAINT: Misc small fixes. (#10722)Charles Harris2018-03-101-31/+31
| | | | | | | | | | * MAINT: Replace print statements for Python3. Updates tools/swig/test/testSuperTensor.py. * MAINT: Fix deprecated escaped characters for python 3.6+. Update numpy/linalg/lapack_lite/clapack_scrub.py.
* MAINT: Remove commented out code blocksgfyoung2015-12-201-10/+0
|
* DOC: Use print only as function when print_function is imported from __future__gfyoung2015-12-191-1/+1
| | | | Closes gh-6863.
* New typemap for in-place arrays of arbitrary number of dimensions:Tom Krauss2015-05-256-4/+318
| | | | | (DATA_TYPE* INPLACE_ARRAY_FLAT, DIM_TYPE DIM_FLAT) Added unittests, updated documentation.
* Correct exit code if number of errors % 256 == 0Chris Lamb2015-02-157-7/+7
| | | | | | | For example, we had 256 errors (etc.) our process will exit with a successful error code which is incorrect and/or misleading. Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
* ENH: added std::complex support to numpy.iGlen Mabey2014-11-076-2/+325
| | | | | | numpy.i now includes ready-made typemaps for std::complex<float> and std::complex<double> . Tests were added to testArray using a newly defined ArrayZ class.
* MAINT: Move doc/swig to tools/swig.Charles Harris2014-03-1232-0/+3991
Also update MANIFEST.in and documentation to reflect the move. The discussion of this change is at #2384. Closes #2384. Closes #4374.