Remove unneeded assert in assert_raise