These 4 test scripts provide error messages from Python, rather than trapping the bad input before making the call:
Here is the error message:
The issue here is that the unsupported input type should throw, but instead just continues. Similar behavior is seen for outputs. Both throw exceptions, but they come from inside of Python when we should have trapped them before making the Python call.