TST: Don't raise in utility function