def _assert_version_output(capsys):
    out, err = capsys.readouterr()
    if is_python2:
        err_expected = ("%s\n" % __version__)
        out_expected = ""
    else:
        err_expected = ""
        out_expected = ("%s\n" % __version__)
    assert err == err_expected
    assert out == out_expected
dataset/ETHPy150Open bokeh/bokeh/bokeh/command/tests/test_bootstrap.py/_assert_version_output/original