@pytest.mark.examples
def test_notebook_examples(notebook_example, jupyter_notebook, diff):
    notebook_port = pytest.config.option.notebook_port
    url_path = join(*_get_path_parts(abspath(notebook_example)))
    url = 'http://localhost:%d/notebooks/%s' % (notebook_port, url_path)
    assert deal_with_output_cells(notebook_example), 'Notebook failed'
    _assert_snapshot(notebook_example, url, 'notebook', diff)
    if diff:
        _get_pdiff(notebook_example, diff)
dataset/ETHPy150Open bokeh/bokeh/tests/examples/test_examples.py/test_notebook_examples/original