Change skipping of test if it is run with python 2.6