Skip to content

fixup some f-strings #33582

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

Closed
wants to merge 3 commits into from
Closed

Conversation

Dxin-code
Copy link

@Dxin-code Dxin-code commented Apr 16, 2020

@@ -219,7 +219,7 @@ def test_frame_equal_unicode(df1, df2, msg, by_blocks_fixture, obj_fixture):
#
# Test ensures that `tm.assert_frame_equals` raises the right exception
# when comparing DataFrames containing differing unicode objects.
msg = msg.format(obj=obj_fixture)
msg = f"{obj_fixture}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer testing for the complete message using the parametrised msg template?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed, this looks incorrect

@simonjayhawkins simonjayhawkins mentioned this pull request Apr 16, 2020
5 tasks
@jreback jreback changed the title Issue 29547 fix fixup some f-strings Apr 16, 2020
@alimcmaster1 alimcmaster1 added Clean Code Style Code style, linting, code_checks labels Apr 16, 2020
@WillAyd
Copy link
Member

WillAyd commented Apr 18, 2020

agreed with the comments here - I don't think there is anything to be done with this one

@WillAyd WillAyd closed this Apr 18, 2020
@Dxin-code Dxin-code deleted the issue-29547-fix branch April 19, 2020 00:11
@Dxin-code Dxin-code restored the issue-29547-fix branch April 19, 2020 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants