Can you send this upstream? to the python testcase people, they might be interested..