William S Fulton
eac27f7d3e
Python castmode minor tweaks
...
- Comment how and why LONG_MAX/ULONG_MAX is replaced by
long_max/ulong_max.
- Use our conventional approach to detecting Python version in testcases.
- Convert use of testcase assert.
2023-12-24 18:09:57 +00:00
Markus Wick
2e138a5146
python/cast_mode: Add tests for min/max of double -> int convertions.
...
Test min/max values of all implicit PyLong + PyFloat -> C u?l?l convertions.
Also check all off-by-one for throwing errors.
2023-12-06 22:11:23 +01:00
William S Fulton
cf8788c411
Update Python tests to not use flatstaticmethod access
...
Use Python class staticmethod syntax to access C++ static member functions,
such as Klass.memberfunction, instead of Klass_memberfunction.
Examples and test-suite changes in preparation for issue #2137 .
2022-01-14 22:48:11 +00:00
Julien Schueller
a2850397ba
[Python] Fix overload_simple_cast test with 3.10
...
Closes #2044
2021-08-05 14:07:30 +02:00
William S Fulton
d4ffa46f41
Convert python tests using 2to3
...
These tests were converted using 2to3 and should be valid using
Python 2.7 and Python 3+.
2020-08-15 00:16:04 +01:00
William S Fulton
345b4fec43
Testcase fix
2018-08-14 08:55:55 +01:00
Jon Schlueter
b77f3afafb
autopep8 cleanup of Examples/test-suite/python
...
automated cleanup of python pep8 whitespace compliance
2015-05-08 21:35:52 -04:00
William S Fulton
b266e1f68c
modifying build system not to rely on the -I path to find the input files avoiding warning 125: move python .i files up one directory, some files have been renamed - prepended with python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 22:50:35 +00:00