Skip to content

Commit 1d8e592

Browse files
temp: check running all doctests on travis
1 parent 5833f86 commit 1d8e592

File tree

1 file changed

+30
-24
lines changed

1 file changed

+30
-24
lines changed

ci/doctests.sh

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,39 +12,45 @@ if [ "$DOCTEST" ]; then
1212

1313
echo "Running doctests"
1414

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-
15+
pytest --doctest-modules --ignore=pandas/tests -v pandas
2216
if [ $? -ne "0" ]; then
2317
RET=1
2418
fi
2519

26-
# top-level io functionality
27-
pytest --doctest-modules -v pandas/io/* -k "read_"
2820

29-
if [ $? -ne "0" ]; then
30-
RET=1
31-
fi
21+
# # top-level reshaping functions
22+
# pytest --doctest-modules -v \
23+
# pandas/core/reshape/concat.py \
24+
# pandas/core/reshape/pivot.py \
25+
# pandas/core/reshape/reshape.py \
26+
# pandas/core/reshape/tile.py
3227

33-
# DataFrame docstrings
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"
28+
# if [ $? -ne "0" ]; then
29+
# RET=1
30+
# fi
3631

37-
if [ $? -ne "0" ]; then
38-
RET=1
39-
fi
32+
# # top-level io functionality
33+
# pytest --doctest-modules -v pandas/io/* -k "read_"
4034

41-
# Series docstrings
42-
pytest --doctest-modules -v \
43-
pandas/core/series.py -k"-agg -apply -map -nlargest -nonzero -nsmallest -reindex -replace -searchsorted -to_dict -to_excel"
35+
# if [ $? -ne "0" ]; then
36+
# RET=1
37+
# fi
4438

45-
if [ $? -ne "0" ]; then
46-
RET=1
47-
fi
39+
# # DataFrame docstrings
40+
# pytest --doctest-modules -v \
41+
# 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"
42+
43+
# if [ $? -ne "0" ]; then
44+
# RET=1
45+
# fi
46+
47+
# # Series docstrings
48+
# pytest --doctest-modules -v \
49+
# pandas/core/series.py -k"-agg -apply -map -nlargest -nonzero -nsmallest -reindex -replace -searchsorted -to_dict -to_excel"
50+
51+
# if [ $? -ne "0" ]; then
52+
# RET=1
53+
# fi
4854

4955
else
5056
echo "NOT running doctests"

0 commit comments

Comments
 (0)