only set $EASYBUILD_DEPRECATED for Python 2.6 and up
Merge pull request #1259 from boegel/depr_py24

only set $EASYBUILD_DEPRECATED for Python 2.6 and up in unit tests