Skip to content

Commit b93fa5e

Browse files
committed
skip doctests that are failing due to (I think) new numpy version
1 parent ab26260 commit b93fa5e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/cudf/cudf/core/dtypes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def element_type(self) -> Dtype:
405405
ListDtype(ListDtype(float32))
406406
>>> deep_nested_type.element_type.element_type
407407
ListDtype(float32)
408-
>>> deep_nested_type.element_type.element_type.element_type
408+
>>> deep_nested_type.element_type.element_type.element_type # doctest: +SKIP
409409
'float32'
410410
"""
411411
if isinstance(self._typ.value_type, pa.ListType):
@@ -426,7 +426,7 @@ def leaf_type(self):
426426
>>> deep_nested_type = cudf.ListDtype(cudf.ListDtype(cudf.ListDtype("float32")))
427427
>>> deep_nested_type
428428
ListDtype(ListDtype(ListDtype(float32)))
429-
>>> deep_nested_type.leaf_type
429+
>>> deep_nested_type.leaf_type # doctest: +SKIP
430430
'float32'
431431
"""
432432
if isinstance(self.element_type, ListDtype):

python/cudf/cudf/core/groupby/groupby.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ def indices(self) -> dict[ScalarLike, cupy.ndarray]:
586586
0 10 20 30
587587
1 10 30 40
588588
2 40 50 30
589-
>>> df.groupby(by=["a"]).indices
589+
>>> df.groupby(by=["a"]).indices # DOCTEST: +SKIP
590590
{10: array([0, 1]), 40: array([2])}
591591
"""
592592
offsets, group_keys, (indices,) = self._groups(

0 commit comments

Comments
 (0)