Use pytest.warning(Warning) rather than Exception (#2958)
Use pytest.warning(Warning) rather than Exception (#2958)


dask/distributed,dask/distributed,dask/distributed,blaze/distributed,dask/distributed,blaze/distributed