testcase fix discovered when py26 failed