That's wrong. These are two verbs, пить is imperfective, выпить is perfective. Also, выпить may have a slighltly stronger connotations that the drink may very well be alcohol.