Make the UseAuto test case generator compatible with python 2.5.