Fix pytest dependency.