fix test skipping on Python 2.6