Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Aniketsy
Copy link
Contributor

@Aniketsy Aniketsy commented Sep 8, 2025

The tests cover the currently supported cases: Numpy arrays and RangeIndex
Please let me know if my approach or fix needs any improvements . I’m open to feedback and happy to make changes based on suggestions.
Thanks!

@jbrockmendel
Copy link
Member

This is a start, but there are a ton of cases not covered before we can close #55372

@@ -30,3 +30,18 @@ def test_shares_memory_string():

obj = pd.array(["a", "b"], dtype=pd.ArrowDtype(pa.string()))
assert tm.shares_memory(obj, obj)


# Unit tests for tm.shares_memory (#55372)
Copy link
Member

Choose a reason for hiding this comment

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

this comment isnt helpful

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I will remove this.

@Aniketsy
Copy link
Contributor Author

Aniketsy commented Sep 8, 2025

I agree that many important cases (like Series, DataFrame, MultiIndex, etc.) are not yet covered due to current implementation limitations.
Please let me know how you’d like to proceed!

@simonjayhawkins simonjayhawkins added the Testing pandas testing functions or related to the test suite label Sep 10, 2025
@jbrockmendel
Copy link
Member

Edited the OP to reflect that this doesn't close the issue, set the CI to re-run as the failures should be unrelated. ill merge once that comes back green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants