Backported skipUnless for Python 2.6