bump pytest version requirement

fix issue when testing with travis-ci.