In general should not happen, but better to report the actual error instead of the Python test code failing.