Skip to content

Commit d3d5a50

Browse files
clean-up
1 parent c03c895 commit d3d5a50

File tree

1 file changed

+15
-22
lines changed

1 file changed

+15
-22
lines changed

ci/doctests.sh

+15-22
Original file line numberDiff line numberDiff line change
@@ -12,40 +12,21 @@ if [ "$DOCTEST" ]; then
1212

1313
echo "Running doctests"
1414

15-
# pytest --doctest-modules --ignore=pandas/tests -v pandas/core/frame.py
15+
# running all doctests is not yet working
16+
# pytest --doctest-modules --ignore=pandas/tests -v pandas
1617

1718
# if [ $? -ne "0" ]; then
1819
# RET=1
1920
# fi
2021

21-
22-
# # top-level reshaping functions
23-
# pytest --doctest-modules -v \
24-
# pandas/core/reshape/concat.py \
25-
# pandas/core/reshape/pivot.py \
26-
# pandas/core/reshape/reshape.py \
27-
# pandas/core/reshape/tile.py
28-
29-
# if [ $? -ne "0" ]; then
30-
# RET=1
31-
# fi
32-
33-
# # top-level io functionality
34-
# pytest --doctest-modules -v pandas/io/* -k "read_"
35-
36-
# if [ $? -ne "0" ]; then
37-
# RET=1
38-
# fi
39-
40-
# DataFrame docstrings
22+
# DataFrame / Series docstrings
4123
pytest --doctest-modules -v pandas/core/frame.py \
4224
-k"-assign -axes -combine -isin -itertuples -join -nlargest -nsmallest -nunique -pivot_table -quantile -query -reindex -reindex_axis -replace -round -set_index -stack -to_dict -to_records -to_stata -transform"
4325

4426
if [ $? -ne "0" ]; then
4527
RET=1
4628
fi
4729

48-
# Series docstrings
4930
pytest --doctest-modules -v pandas/core/series.py \
5031
-k"-agg -map -nlargest -nonzero -nsmallest -reindex -searchsorted -to_dict"
5132

@@ -60,6 +41,18 @@ if [ "$DOCTEST" ]; then
6041
RET=1
6142
fi
6243

44+
# top-level reshaping functions
45+
pytest --doctest-modules -v \
46+
pandas/core/reshape/concat.py \
47+
pandas/core/reshape/pivot.py \
48+
pandas/core/reshape/reshape.py \
49+
pandas/core/reshape/tile.py \
50+
-k"-crosstab -pivot_table -cut"
51+
52+
if [ $? -ne "0" ]; then
53+
RET=1
54+
fi
55+
6356
else
6457
echo "NOT running doctests"
6558
fi

0 commit comments

Comments
 (0)