BUG: fixed assert_raises syntax