-
- Downloads
Patch CommonCore python tests for py3k.
This change modifies the python code for the tests so that they are cross-compatible between python 2 and python 3. The new code will not run on Python 2.5 or earlier, because only python 2.6 and 2.7 allow py3k-friendly syntax. The numpy_interface does not fully support python 3 yet, due to changes in the way numeric operators work and the way type coercion is done.
Showing
- Common/Core/Testing/Python/PythonSmoke.py 13 additions, 13 deletionsCommon/Core/Testing/Python/PythonSmoke.py
- Common/Core/Testing/Python/TestArrayArguments.py 10 additions, 6 deletionsCommon/Core/Testing/Python/TestArrayArguments.py
- Common/Core/Testing/Python/TestArrays.py 2 additions, 2 deletionsCommon/Core/Testing/Python/TestArrays.py
- Common/Core/Testing/Python/TestBuffer.py 1 addition, 2 deletionsCommon/Core/Testing/Python/TestBuffer.py
- Common/Core/Testing/Python/TestCommand.py 0 additions, 1 deletionCommon/Core/Testing/Python/TestCommand.py
- Common/Core/Testing/Python/TestEmptyInput.py 24 additions, 24 deletionsCommon/Core/Testing/Python/TestEmptyInput.py
- Common/Core/Testing/Python/TestEnums.py 0 additions, 1 deletionCommon/Core/Testing/Python/TestEnums.py
- Common/Core/Testing/Python/TestExecuteMethodFinalizeCrash.py 1 addition, 1 deletionCommon/Core/Testing/Python/TestExecuteMethodFinalizeCrash.py
- Common/Core/Testing/Python/TestGhost.py 0 additions, 1 deletionCommon/Core/Testing/Python/TestGhost.py
- Common/Core/Testing/Python/TestIgnoreBTX.py 0 additions, 1 deletionCommon/Core/Testing/Python/TestIgnoreBTX.py
- Common/Core/Testing/Python/TestMutable.py 10 additions, 0 deletionsCommon/Core/Testing/Python/TestMutable.py
- Common/Core/Testing/Python/TestNumpyInterface.py 2 additions, 2 deletionsCommon/Core/Testing/Python/TestNumpyInterface.py
- Common/Core/Testing/Python/TestNumpySupport.py 3 additions, 3 deletionsCommon/Core/Testing/Python/TestNumpySupport.py
- Common/Core/Testing/Python/TestOperators.py 0 additions, 1 deletionCommon/Core/Testing/Python/TestOperators.py
- Common/Core/Testing/Python/TestOverloads.py 0 additions, 1 deletionCommon/Core/Testing/Python/TestOverloads.py
- Common/Core/Testing/Python/TestSetGet.py 28 additions, 28 deletionsCommon/Core/Testing/Python/TestSetGet.py
- Common/Core/Testing/Python/TestStrings.py 10 additions, 20 deletionsCommon/Core/Testing/Python/TestStrings.py
- Common/Core/Testing/Python/TestSubClass.py 1 addition, 2 deletionsCommon/Core/Testing/Python/TestSubClass.py
- Common/Core/Testing/Python/TestTerminationCrash.py 1 addition, 1 deletionCommon/Core/Testing/Python/TestTerminationCrash.py
- Common/Core/Testing/Python/TestVariant.py 29 additions, 24 deletionsCommon/Core/Testing/Python/TestVariant.py
Loading
Please register or sign in to comment