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