@@ -12,40 +12,21 @@ if [ "$DOCTEST" ]; then
12
12
13
13
echo " Running doctests"
14
14
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
16
17
17
18
# if [ $? -ne "0" ]; then
18
19
# RET=1
19
20
# fi
20
21
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
41
23
pytest --doctest-modules -v pandas/core/frame.py \
42
24
-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"
43
25
44
26
if [ $? -ne " 0" ]; then
45
27
RET=1
46
28
fi
47
29
48
- # Series docstrings
49
30
pytest --doctest-modules -v pandas/core/series.py \
50
31
-k" -agg -map -nlargest -nonzero -nsmallest -reindex -searchsorted -to_dict"
51
32
@@ -60,6 +41,18 @@ if [ "$DOCTEST" ]; then
60
41
RET=1
61
42
fi
62
43
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
+
63
56
else
64
57
echo " NOT running doctests"
65
58
fi
0 commit comments