Tests: Fix version_info check for Python2.6