di ao

Results 1 comments of di ao

I solved the problem temporarily with a recode import base64 ` if (report.skipped and xfail) or (report.failed and not xfail): with open(screen_file, "rb") as image_file: encoded_string = base64.b64encode(image_file.read()).decode() extra.append(pytest_html.extras.png(encoded_string)) `