Revert to asserts outside of with/as
Revert to asserts outside of with/as

rdhyee/waterbutler,RCOSDP/waterbutler,CenterForOpenScience/waterbutler,TomBaxter/waterbutler,Johnetordoff/waterbutler,felliott/waterbutler