Skip to content

TST: increase coverage of asfreq #53861

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

Merged

Conversation

natmokval
Copy link
Contributor

In order to increase coverage of asfreq a test is added, in which we pass freq = '2M' to asfreq. There's no test which has a number with the frequency yet.

@natmokval natmokval marked this pull request as ready for review June 27, 2023 07:12
@natmokval
Copy link
Contributor Author

@MarcoGorelli, could you please take a look at this pr? Seems like ci failure isn't related to my changes.

@MarcoGorelli MarcoGorelli added Testing pandas testing functions or related to the test suite Needs Tests Unit test(s) needed to prevent regressions and removed Testing pandas testing functions or related to the test suite labels Jun 27, 2023
@MarcoGorelli MarcoGorelli added this to the 2.1 milestone Jun 27, 2023
Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, thanks!

@MarcoGorelli MarcoGorelli merged commit 698ae96 into pandas-dev:main Jun 27, 2023
@MarcoGorelli
Copy link
Member

just to clarify for anyone passing by - the issue is that existing tests were all like "freq='M'", rather than "freq='2M'". adding such a test increases our confidence in #52064

Daquisu pushed a commit to Daquisu/pandas that referenced this pull request Jul 8, 2023
* TST: increase coverage of asfreq

* remove redundant argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Tests Unit test(s) needed to prevent regressions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants