In the United Kingdom, a parliamentary by-election occurs following a vacancy arising in the House of Commons. They are often seen as a test of the rival political parties' fortunes between general elections.