Yeah, your two alternative spellings there are much clearer. I'll leave this branch unchanged for the moment though as that was a temporary hack that's going away.
Having a real expectError method would both keep the exc_info unmolested and avoid the need for try/except, but was out of scope here.
Yeah, your two alternative spellings there are much clearer. I'll leave this branch unchanged for the moment though as that was a temporary hack that's going away.
Having a real expectError method would both keep the exc_info unmolested and avoid the need for try/except, but was out of scope here.