[python-package] Add specific error messages to test_basic
and test_dask
tests
#9862
Loading
test_basic
and test_dask
tests
#9862