fix skipping of tests that fail on Python 2.6