Skip to content

Fix test_setitem error message regex for numpy dev - #11737

Merged
headtr1ck merged 1 commit into
pydata:mainfrom
headtr1ck:fix-str-float-msg
Oct 15, 2026
Merged

headtr1ck merged 1 commit into
pydata:mainfrom
headtr1ck:fix-str-float-msg

Conversation

@headtr1ck

@headtr1ck headtr1ck commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Description

numpy dev prints 'a' instead of np.str_('a') in the "could not convert string to float" message, so the regex tightened in #11728 now accepts both.

Checklist

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.
      Tools: Claude Code

numpy dev no longer uses the np.str_ repr in the 'could not convert
string to float' message.

Co-authored-by: Claude <noreply@anthropic.com>
@headtr1ck
headtr1ck merged commit 913f7a3 into pydata:main Oct 15, 2026
75 of 80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⚠️ Nightly upstream-dev CI failed ⚠️

1 participant