-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Holiday(..) with both offset and observance raises #10226
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
Conversation
@@ -737,6 +737,17 @@ def test_get_period_field_raises_on_out_of_range(self): | |||
def test_get_period_field_array_raises_on_out_of_range(self): | |||
self.assertRaises(ValueError, period.get_period_field_arr, -1, np.empty(1), 0) | |||
|
|||
|
|||
class TestHolidayConflictingArguments(tm.TestCase): | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add the issue number as a comment here
pls add a release note (put it in the API section for 0.17.0). minor changes otherwise. pls ping when green on travis. |
3880fe2
to
85628a2
Compare
As requested. By the way, five points to whoever wrote the 'contributing to pandas' doc section. |
thanks to cc @rockg who put most of that together! |
cc @rockg look good to you? |
Looks good to me. Let's keep the original issue open until that requested behavior is supported. @bwillers Glad it was useful...hopefully removes the major hurdles to helping out. |
merged via d513986 thanks! |
Resolves #10217
Doesn't fix the underlying issue yet, but at least raises on the unsupported behavior.