use correct py.test for python version