use py.test which has version large than 2.4.2 in travis-ci.