style changes for contextmanager test

It'll add several microseconds to the times and may hide a narrow class of errors but yeah, I think people will find it more typical.