compat py 26 - non-ctxt use of assert_raises