(in_examples)
| 467 | cb_info['cb_cur_name'] = None |
| 468 | |
| 469 | def _append_code_block(in_examples): |
| 470 | # nonlocal code_blocks, cb_cur, cb_cur_name, cb_cur_seq_id |
| 471 | code_blocks.append( |
| 472 | { |
| 473 | 'codes': inspect.cleandoc("\n" + "\n".join(cb_info['cb_cur'])), |
| 474 | 'name': cb_info['cb_cur_name'], |
| 475 | 'id': cb_info['cb_cur_seq_id'], |
| 476 | 'in_examples': in_examples, |
| 477 | } |
| 478 | ) |
| 479 | |
| 480 | for lineno, linecont in enumerate(docstr_list): |
| 481 | if re.search(cb_start_pat, linecont): |
no test coverage detected