Source code distributed/dashboard/tests/test_bokeh.py

1
2
3
4
5
def test_old_import():
    try:
        from distributed.bokeh import BokehScheduler  # noqa: F401
    except ImportError as e:
        assert "distributed.dashboard" in str(e)