Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Run doctests over pandas directory #45056

Merged
merged 2 commits into from
Dec 27, 2021

Conversation

mroeschke
Copy link
Member

--ignore-glob="**/test_*.py" is necessary or else unit tests are collected and run

% pytest --doctest-modules pandas --collect-only
...
    <Function test_rolling_consistency_var_debiasing_factors[all_data16-rolling_consistency_cases0-False]>
    <Function test_rolling_consistency_var_debiasing_factors[all_data16-rolling_consistency_cases1-True]>
    <Function test_rolling_consistency_var_debiasing_factors[all_data16-rolling_consistency_cases1-False]>
    <Function test_rolling_consistency_var_debiasing_factors[all_data17-rolling_consistency_cases0-True]>
    <Function test_rolling_consistency_var_debiasing_factors[all_data17-rolling_consistency_cases0-False]>
    <Function test_rolling_consistency_var_debiasing_factors[all_data17-rolling_consistency_cases1-True]>
    <Function test_rolling_consistency_var_debiasing_factors[all_data17-rolling_consistency_cases1-False]>
<Package tseries>
  <DoctestModule frequencies.py>
    <DoctestItem pandas.tseries.frequencies.infer_freq>
  <DoctestModule holiday.py>
    <DoctestItem pandas.tseries.holiday.Holiday.__init__>
<Package util>
  <DoctestModule _decorators.py>
    <DoctestItem pandas.util._decorators.deprecate_kwarg>
  <DoctestModule _validators.py>
    <DoctestItem pandas.util._validators.validate_axis_style_args>

=================================================================== 153109 tests collected in 46.60s ===================================================================

@mroeschke mroeschke added this to the 1.4 milestone Dec 24, 2021
@mroeschke mroeschke added the Docs label Dec 24, 2021
@jreback jreback merged commit 81cdbb4 into pandas-dev:master Dec 27, 2021
@mroeschke mroeschke deleted the docs/doctests_pandas branch December 27, 2021 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: ongoing fixing of doctests
2 participants