Skip to content

Commit 10cf824

Browse files
add read functions
1 parent 2d4c6ac commit 10cf824

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

ci/doctests.sh

+17-7
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,35 @@ if [ "$LINT" ]; then
1212

1313
echo "Running doctests"
1414

15-
pytest --doctest-modules \
16-
pandas/core/reshape/concat.py \
17-
pandas/core/reshape/pivot.py \
18-
pandas/core/reshape/reshape.py \
19-
pandas/core/reshape/tile.py -v
15+
# top-level reshaping functions
16+
pytest --doctest-modules -v \
17+
pandas/core/reshape/concat.py \
18+
pandas/core/reshape/pivot.py \
19+
pandas/core/reshape/reshape.py \
20+
pandas/core/reshape/tile.py
21+
22+
if [ $? -ne "0" ]; then
23+
RET=1
24+
fi
25+
26+
# top-level io functionality
27+
pytest --doctest-modules -v pandas/io/* -k "read_"
2028

2129
if [ $? -ne "0" ]; then
2230
RET=1
2331
fi
2432

2533
# DataFrame docstrings
26-
pytest --doctest-modules pandas/core/frame.py -k"-agg -apply -applymap -assign -eval -isin -itertuples -join -merge -nlargest -nsmallest -nunique -pivot -pivot_table -quantile -query -reindex -reindex_axis -replace -round -select_dtypes -set_index -stack -to_dict -to_excel -to_stata" -v
34+
pytest --doctest-modules -v \
35+
pandas/core/frame.py -k"-agg -apply -applymap -assign -eval -isin -itertuples -join -merge -nlargest -nsmallest -nunique -pivot -pivot_table -quantile -query -reindex -reindex_axis -replace -round -select_dtypes -set_index -stack -to_dict -to_excel -to_stata"
2736

2837
if [ $? -ne "0" ]; then
2938
RET=1
3039
fi
3140

3241
# Series docstrings
33-
pytest --doctest-modules pandas/core/series.py -k"-agg -apply -map -nlargest -nonzero -nsmallest -reindex -replace -searchsorted -sort_values -to_dict -to_excel" -v
42+
pytest --doctest-modules -v \
43+
pandas/core/series.py -k"-agg -apply -map -nlargest -nonzero -nsmallest -reindex -replace -searchsorted -to_dict -to_excel"
3444

3545
if [ $? -ne "0" ]; then
3646
RET=1

0 commit comments

Comments
 (0)