You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess that there are tests for those in pandas/tests/tseries/holiday/test_observance.py.
I added several cases for next_workday and before_nearest_workday (I guess all possible cases) in the PR #38215, but there are other observance rules, which can be covered with more cases as well.
Looks like pandas/tests/tseries/holiday/test_observance.py has been pretty fleshed out in the meantime to meet the spirit of the original issue so closing. Can open a new issue with specific items if there are followups
Uh oh!
There was an error while loading. Please reload this page.
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
None of the observance rules (e.g.
next_workday
,before_nearest_workday
) are testedThe text was updated successfully, but these errors were encountered: