def test_check_perf(capsys): this_tests(check_perf) check_perf() captured = capsys.readouterr() #print(captured.out) match = re.findall(rf'Running Pillow.*?{Image.PILLOW_VERSION}', captured.out) assert match
def test_check_perf(capsys): this_tests(check_perf) check_perf() captured = capsys.readouterr()