

@pytest.mark.examples
def test_file_examples(file_example, diff, log_file):
    html_file = ('%s.html' % no_ext(file_example))
    url = ('file://' + html_file)
    assert (_run_example(file_example, log_file) == 0), 'Example did not run'
    _assert_snapshot(file_example, url, 'file', diff)
    if diff:
        _get_pdiff(file_example, diff)

dataset/ETHPy150Open bokeh/bokeh/tests/examples/test_examples.py test_file_examples/original