def _body_entry(cl, data): if data == 'P': data = pass_test(data) elif data == 'F': data = fail_test(data) elif data == 'U': data = notsupported(data) return td(data, _class=cl)