-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: Split test_offsets.py #27085
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
Comments
@mroeschke : is it seperating the tests which use DateOffset into a new created file test_date_offsets.py? |
Yes |
Can I work on this one ?) |
Is anyone in active development about these issue? Could I spend awhile upon it? @Hiyorimi |
Does anyone was thinking about the way we can split
I mean it's necessary in case we iterate over the list of classes from tseries.offsets.__all__ . Is it ok if we have logic about filtering Business/Non-Business classes within two different fixtures? Or we want to separate them in pandas.tseries.offsets in some way?
|
there are already some fixtures defined look in pandas/contest.py and see how they r used |
take |
It's been a minute since this issue was worked on! Taking a look--
Comparing what we have in master now with what tests looked like with the xref comment timeframe, there are some improvements. We have a few new business offset files (ex.
...this is still seemingly available...
...and I think there is some good to do here as well, still. This could be a lot for one PR, so I will try and break off pieces of this in a meaningful way. |
This looks sufficiently completed so closing |
xref #26628 (comment)
It would be good to create:
pandas/tests/tseries/offsets/test_business_offsets.py
for business offsetspandas/tests/tseries/offsets/test_date_offsets.py
for all offsets that subclassDateOffset
and converting the tests to pytest idioms.
The text was updated successfully, but these errors were encountered: