Skip to content

Conversation

@MarcoGorelli
Copy link
Member

@MarcoGorelli MarcoGorelli commented Apr 27, 2023

precursor to https://github.com/pandas-dev/pandas/pull/50626/files, trying to reduce the diff

there's some example / tests in which upcasting from int to float happens, but where it's not the purpose of what's being shown / tested. similar to #50493


def raises_chained_assignment_error():
if PYPY:
def raises_chained_assignment_error(extra_warnings=(), extra_match=()):
Copy link
Member Author

Choose a reason for hiding this comment

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

here I'm giving raises_chained_assignment_error the ability to catch extra warnings (as this will be used later in #50626)

@MarcoGorelli MarcoGorelli requested a review from phofl April 27, 2023 10:23
@phofl phofl added this to the 2.1 milestone Apr 27, 2023
@phofl phofl merged commit a0b7693 into pandas-dev:main Apr 27, 2023
@phofl
Copy link
Member

phofl commented Apr 27, 2023

thx @MarcoGorelli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants