MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / print_summary

Method print_summary

tools/sampcd_processor_utils.py:314–327  ·  view source on GitHub ↗

Post process test results and print test summary. There are some `required not match` in legacy test processor, but NOT exist in Xdoctest. When using the legacy processor, we can set test result to `skipped=True` and store the `not match` information in `extra_info`, then lo

(
        self, test_results: list[TestResult], whl_error: list[str]
    )

Source from the content-addressed store, hash-verified

312 raise NotImplementedError
313
314 def print_summary(
315 self, test_results: list[TestResult], whl_error: list[str]
316 ) -> None:
317 """Post process test results and print test summary.
318
319 There are some `required not match` in legacy test processor, but NOT exist in Xdoctest.
320 When using the legacy processor, we can set test result to `skipped=True` and store the `not match` information in `extra_info`,
321 then logging the `not match` in `print_summary`.
322
323 Args:
324 test_results(list[TestResult]): test results generated from doctester.
325 whl_error(list[str]): wheel error when we extract apis from module.
326 """
327 pass
328
329
330def get_api_md5(path):

Callers 1

run_doctestFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected