Skip to content

Commit

Permalink
add missing comma and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt committed Dec 7, 2021
1 parent 52699e0 commit 14ff500
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion holoviews/operation/datashader.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
CompositeOverlay, Dataset, Overlay, OrderedDict, Store)
from ..core.data import PandasInterface, XArrayInterface, DaskInterface, cuDFInterface
from ..core.util import (
Iterable, LooseVersion, basestring cast_array_to_int64, cftime_types, cftime_to_timestamp,
Iterable, LooseVersion, basestring, cast_array_to_int64, cftime_types, cftime_to_timestamp,
datetime_types, dt_to_int, isfinite, get_param_values, max_range, config
)
from ..element import (Image, Path, Curve, RGB, Graph, TriMesh,
Expand Down
2 changes: 1 addition & 1 deletion holoviews/tests/operation/testdatashader.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ def test_uint_dtype(self):
def test_uint64_dtype(self):
df = pd.DataFrame(np.arange(2, dtype=np.uint64), columns=["A"])
curve = Curve(df)
with self.assertRaisesRegex(TypeError, match="Dtype of uint64 for column A is not supported"):
with self.assertRaisesRegex(TypeError, "Dtype of uint64 for column A is not supported"):
rasterize(curve, dynamic=False, height=10, width=10)


Expand Down

0 comments on commit 14ff500

Please sign in to comment.