Skip to content

TST: Add test for loc not updating cache correctly #47949

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

Merged
merged 2 commits into from
Aug 3, 2022
Merged

Conversation

phofl
Copy link
Member

@phofl phofl commented Aug 3, 2022

All the setitem and getitem steps are necessary to produce the bug. Reduced it as far as possible

@phofl phofl added Testing pandas testing functions or related to the test suite Regression Functionality that used to work in a prior pandas version labels Aug 3, 2022
@phofl phofl added this to the 1.4.4 milestone Aug 3, 2022
@simonjayhawkins
Copy link
Member

All the setitem and getitem steps are necessary to produce the bug. Reduced it as far as possible

you did explicitly check that this exact test fails on 1.4.3?

@simonjayhawkins
Copy link
Member

if so merge when ready. lgtm. Thanks @phofl

@simonjayhawkins
Copy link
Member

All the setitem and getitem steps are necessary to produce the bug. Reduced it as far as possible

maybe worth adding a code comment to not alter the test as all steps are necessary to avoid clean-ups or refactors changing it.

@phofl
Copy link
Member Author

phofl commented Aug 3, 2022

Yes, used 1.4.3 to narrow it down to this test

@simonjayhawkins
Copy link
Member

Yes, used 1.4.3 to narrow it down to this test

sure. the "Reduced it as far as possible" created some doubt. so was just checking.

@phofl
Copy link
Member Author

phofl commented Aug 3, 2022

Good point, added a comment

@phofl phofl merged commit 4485f15 into pandas-dev:main Aug 3, 2022
@lumberbot-app

This comment was marked as resolved.

phofl added a commit to phofl/pandas that referenced this pull request Aug 3, 2022
* TST: Add test for loc not updating cache correctly

* Add comment
@phofl phofl deleted the 47867 branch August 3, 2022 23:16
@phofl
Copy link
Member Author

phofl commented Aug 3, 2022

#47954

simonjayhawkins pushed a commit that referenced this pull request Aug 4, 2022
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
* TST: Add test for loc not updating cache correctly

* Add comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Regression Functionality that used to work in a prior pandas version Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Update Values from MultiIndex Dataframe after using loc is not applied correctly
2 participants