-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Fix wrong str.format() calls in Index.summary #4751
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
I rember this one! thxs |
@jreback look okay? |
head = head.format() | ||
tail = self[-1] | ||
if hasattr(tail,'format'): |
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.
should this be: not isinstance(tail ... ?
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.
yes. blah...not on a roll today.
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.
and I'll change the test case too so it fails if it doesn't check that.
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.
actually...not so useful to test both of those cases independently...not sure it's important to add more cases...what do you think?
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.
not a big deal this is a bizarre edge case anyhow
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.
great. then this is done.
otherwise ok |
BUG: Fix wrong str.format() calls in Index.summary
Fixes #3869.