Fix for py26 and expectedFailure