Make test work under Python 2.6.