use the `required` instruction to determine if the environment fits the sample...
use the `required` instruction to determine if the environment fits the sample code's required. (#32766) * add unittests * add find_last_future_line_end * extract_code_blocks_from_docstr and its testcases * test_codeblock_before_examples_is_ignored * sampcd_extract_to_file 拆为两步 * update the codeblock element's format * code-block directive has no value options * insert the CODES_INTERTED_INTO_FRONTEND * using the new func insert_codes_into_codeblock * get_test_capacity and is_required_match * using the new funcitons in sampcd_extract_to_file * add some comments and refactor functions * using logger instead of all the print * remote wlist * collect summary info, and print them * call get capacity * update summary format * print the apis that don't have sample codes. * print the samples the consumed time more than 10s. print time * update unittest testcases * solve ResourceWarning: unclosed file * run tools test seperately * python2 does not have nonlocal keyword, using dict variable instead * remove unused import, rearrange a series of conditional statements. * remove wlist.json and its check approval * remove wlist.json and its check approval
Showing
tools/wlist.json
已删除
100644 → 0
想要评论请 注册 或 登录