Skip to content

Commit 0b810b4

Browse files
add read functions
1 parent 2d4c6ac commit 0b810b4

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

ci/doctests.sh

+13-7
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,31 @@ 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
2021

2122
if [ $? -ne "0" ]; then
2223
RET=1
2324
fi
2425

26+
# top-level io functionality
27+
pytest --doctest-modules -v pandas/io/* -k "read_"
28+
2529
# 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
30+
pytest --doctest-modules -v \
31+
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"
2732

2833
if [ $? -ne "0" ]; then
2934
RET=1
3035
fi
3136

3237
# 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
38+
pytest --doctest-modules -v \
39+
pandas/core/series.py -k"-agg -apply -map -nlargest -nonzero -nsmallest -reindex -replace -searchsorted -to_dict -to_excel"
3440

3541
if [ $? -ne "0" ]; then
3642
RET=1

0 commit comments

Comments
 (0)