-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Check error message for raised exception #33103
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
|
@MomIsBestFriend Please review. |
|
@MomIsBestFriend Green. |
@sumanau7 Can you please change the word "closes" to the word "xref"? |
ShaharNaveh
left a comment
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.
In a few spots you are using f-strings where there isn't a reason to do so.
otherwise this is LGTM :)
|
@MomIsBestFriend Green. |
ShaharNaveh
left a comment
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.
Small nitpick
| index = period_range("1/1/2000", "1/20/2000", freq="D") | ||
| index3 = period_range("1/1/2000", "1/20/2000", freq="2D") | ||
| with pytest.raises(IncompatibleFrequency): | ||
| msg = r".*Input has different freq=2D from PeriodIndex\(freq=D\)" |
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.
| msg = r".*Input has different freq=2D from PeriodIndex\(freq=D\)" | |
| msg = r"Input has different freq=2D from PeriodIndex\(freq=D\)" |
|
thanks @sumanau7 |
black pandasgit diff upstream/master -u -- "*.py" | flake8 --diff