Resolve pip --upgrade command

Double requirement given: pytest (already in pytest, name='pytest')