Nigel Wolpert (not "Wespurt") does not die in Deathly Hallows: Part 2. He appears as a Hogwarts student during the Battle of Hogwarts but is never shown being killed. The film doesn’t depict the fate of every background character; he is presumed to have survived.
Note: The character is played by William Melling. His book counterpart is a composite of several minor Gryffindors.