Here and elsewhere, put asserts on the context manager inside the CM block - ie indent it