Skip to content

Commit a066d88

Browse files
committed
update ci/code_checks.sh and add todo
1 parent fe5a3ef commit a066d88

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ci/code_checks.sh

+7
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,13 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then
140140
-k"-crosstab -pivot_table -cut"
141141
RET=$(($RET + $?)) ; echo $MSG "DONE"
142142

143+
MSG='Doctests interval classes' ; echo $MSG
144+
pytest --doctest-modules -v \
145+
pandas/core/indexes/interval.py \
146+
pandas/core/arrays/interval.py \
147+
-k"-from_arrays -from_breaks -from_intervals -from_tuples -get_loc -set_closed -to_tuples -interval_range"
148+
RET=$(($RET + $?)) ; echo $MSG "DONE"
149+
143150
fi
144151

145152
exit $RET

pandas/core/arrays/interval.py

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
"""
9898

9999

100+
# TODO(jschendel) use a more direct call in Examples when made public (GH22860)
100101
@Appender(_interval_shared_docs['class'] % dict(
101102
klass="IntervalArray",
102103
summary="Pandas array for interval data that are closed on the same side.",

0 commit comments

Comments
 (0)