Support test discovery with Python 2.6.