Test for python 2.X before using shiftx2