Skip to content

Fix pandas roundtrip property test - #11575

Open
charles-turner-1 wants to merge 1 commit into
pydata:mainfrom
charles-turner-1:pandas-roundtrip
Open

Fix pandas roundtrip property test#11575
charles-turner-1 wants to merge 1 commit into
pydata:mainfrom
charles-turner-1:pandas-roundtrip

Conversation

@charles-turner-1

@charles-turner-1 charles-turner-1 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Description

If the series index name clashes with the temporary name ("__temporary_name"), then just append (_fallback) to that name. Chance in a million, probably less, and might be worth altering the Hypothesis generation strategy to exclude this case instead.

Checklist

I had AI (Claude Opus 4.8) pin down the cause of the failing property test and generate the MRE on the issue. Fix was written by hand.

@keewis keewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks good to me, thanks. I don't think people will ever use __temporary_name, but this is usually a really small cost usually (a string comparison).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug in property tests - pandas roundtripping

2 participants