Skip to content

Commit

Permalink
Disable Dask's conversion of strings in test (#5819)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored Jul 21, 2023
1 parent 951e5ba commit d48950a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions holoviews/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,12 @@ def pytest_collection_modifyitems(config, items):

config.hook.pytest_deselected(items=skipped)
items[:] = selected


try:
# From Dask 2023.7,1 they now automatic convert strings
# https://docs.dask.org/en/stable/changelog.html#v2023-7-1
import dask
dask.config.set({"dataframe.convert-string": False})
except Exception:
pass

0 comments on commit d48950a

Please sign in to comment.