|
266 | 266 | ### DOCTESTS ###
|
267 | 267 | if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then
|
268 | 268 |
|
| 269 | + # Individual files |
| 270 | + |
| 271 | + MSG='Doctests base.py' ; echo $MSG |
| 272 | + pytest -q --doctest-modules pandas/core/base.py |
| 273 | + RET=$(($RET + $?)) ; echo $MSG "DONE" |
| 274 | + |
| 275 | + MSG='Doctests construction.py' ; echo $MSG |
| 276 | + pytest -q --doctest-modules pandas/core/construction.py |
| 277 | + RET=$(($RET + $?)) ; echo $MSG "DONE" |
| 278 | + |
269 | 279 | MSG='Doctests frame.py' ; echo $MSG
|
270 | 280 | pytest -q --doctest-modules pandas/core/frame.py
|
271 | 281 | RET=$(($RET + $?)) ; echo $MSG "DONE"
|
272 | 282 |
|
273 |
| - MSG='Doctests series.py' ; echo $MSG |
274 |
| - pytest -q --doctest-modules pandas/core/series.py |
| 283 | + MSG='Doctests generic.py' ; echo $MSG |
| 284 | + pytest -q --doctest-modules pandas/core/generic.py |
275 | 285 | RET=$(($RET + $?)) ; echo $MSG "DONE"
|
276 | 286 |
|
277 | 287 | MSG='Doctests groupby.py' ; echo $MSG
|
278 | 288 | pytest -q --doctest-modules pandas/core/groupby/groupby.py -k"-cumcount -describe -pipe"
|
279 | 289 | RET=$(($RET + $?)) ; echo $MSG "DONE"
|
280 | 290 |
|
281 |
| - MSG='Doctests indexes' ; echo $MSG |
282 |
| - pytest -q --doctest-modules pandas/core/indexes/ |
| 291 | + MSG='Doctests series.py' ; echo $MSG |
| 292 | + pytest -q --doctest-modules pandas/core/series.py |
283 | 293 | RET=$(($RET + $?)) ; echo $MSG "DONE"
|
284 | 294 |
|
285 |
| - MSG='Doctests tools' ; echo $MSG |
286 |
| - pytest -q --doctest-modules pandas/core/tools/ |
287 |
| - RET=$(($RET + $?)) ; echo $MSG "DONE" |
288 |
| - |
289 |
| - MSG='Doctests reshaping functions' ; echo $MSG |
290 |
| - pytest -q --doctest-modules pandas/core/reshape/ |
291 |
| - RET=$(($RET + $?)) ; echo $MSG "DONE" |
| 295 | + # Directories |
292 | 296 |
|
293 | 297 | MSG='Doctests arrays'; echo $MSG
|
294 | 298 | pytest -q --doctest-modules pandas/core/arrays/
|
295 | 299 | RET=$(($RET + $?)) ; echo $MSG "DONE"
|
296 | 300 |
|
| 301 | + MSG='Doctests computation' ; echo $MSG |
| 302 | + pytest -q --doctest-modules pandas/core/computation/ |
| 303 | + RET=$(($RET + $?)) ; echo $MSG "DONE" |
| 304 | + |
297 | 305 | MSG='Doctests dtypes'; echo $MSG
|
298 | 306 | pytest -q --doctest-modules pandas/core/dtypes/
|
299 | 307 | RET=$(($RET + $?)) ; echo $MSG "DONE"
|
300 | 308 |
|
301 |
| - MSG='Doctests base.py' ; echo $MSG |
302 |
| - pytest -q --doctest-modules pandas/core/base.py |
| 309 | + MSG='Doctests indexes' ; echo $MSG |
| 310 | + pytest -q --doctest-modules pandas/core/indexes/ |
303 | 311 | RET=$(($RET + $?)) ; echo $MSG "DONE"
|
304 | 312 |
|
305 |
| - MSG='Doctests construction.py' ; echo $MSG |
306 |
| - pytest -q --doctest-modules pandas/core/construction.py |
| 313 | + MSG='Doctests reshaping functions' ; echo $MSG |
| 314 | + pytest -q --doctest-modules pandas/core/reshape/ |
307 | 315 | RET=$(($RET + $?)) ; echo $MSG "DONE"
|
308 | 316 |
|
309 |
| - MSG='Doctests generic.py' ; echo $MSG |
310 |
| - pytest -q --doctest-modules pandas/core/generic.py |
| 317 | + MSG='Doctests tools' ; echo $MSG |
| 318 | + pytest -q --doctest-modules pandas/core/tools/ |
311 | 319 | RET=$(($RET + $?)) ; echo $MSG "DONE"
|
312 | 320 |
|
313 | 321 | MSG='Doctests tseries' ; echo $MSG
|
314 | 322 | pytest -q --doctest-modules pandas/tseries/
|
315 | 323 | RET=$(($RET + $?)) ; echo $MSG "DONE"
|
316 | 324 |
|
317 |
| - MSG='Doctests computation' ; echo $MSG |
318 |
| - pytest -q --doctest-modules pandas/core/computation/ |
319 |
| - RET=$(($RET + $?)) ; echo $MSG "DONE" |
320 | 325 | fi
|
321 | 326 |
|
322 | 327 | ### DOCSTRINGS ###
|
|
0 commit comments