Way off topic but if an election was forced beforehand would the by election go ahead?
IIRC, if a general election is called whilst a by-election is scheduled, the by-election is postponed and held as as part of the scheduled general election.
In this case, if a GE was called before 1st August, the by-election would not be likely to go ahead because the elected MP would only sit for a brief period before Parliament is dissolved (if they got to sit at all)
However, with summer recess starting Wednesday, and the risk of a snap election being dependent on the Conservative leadership contest and the fallout from the result, my assumptions should be taken with more than a pinch of salt. There are a few too many ifs and buts to say for certain what the procedure is in what is currently still a hypothetical.
.... . ..- - .