Let $X$ be a smooth scheme over a field $k$, and let $Z\subset X$ be a closed sub-scheme of codimension $2$. Let $Bl_Z(X)$ denote the blow-up of $X$ at $Z$, and let $\pi\colon Bl_Z(X)\to X$ denote the projection. Suppose I have a section $\sigma\colon Z\to Bl_Z(X)$ of $\pi$ over $Z$ (i.e. $\pi\sigma=1_Z$).
Question: (when) is the map $Bl_Z(X)\setminus\sigma(Z)\to X$ a weak equivalence?
The references to blow-up theorems which I have found (e.g. Voevodsky's Seattle lectures) suggest that it becomes an equivalence after suspension, but I'd like to avoid suspending if possible.
I'm also happy to restrict the choice of $Z$ and $X$. The case I'm most interested has $X$ being an iterated blow-up of affine space at (proper transforms) of linear sub-spaces, and $Z$ being a (proper transform of a) linear sub-space.