Fix test skipping on Python 2.6.