Skip to content

BUG: fix the regex to parse the dtype category from the docstring#418

Merged
ev-br merged 1 commit intodata-apis:masterfrom
ev-br:test_signatures_regex
Feb 8, 2026
Merged

BUG: fix the regex to parse the dtype category from the docstring#418
ev-br merged 1 commit intodata-apis:masterfrom
ev-br:test_signatures_regex

Conversation

@ev-br
Copy link
Member

@ev-br ev-br commented Feb 8, 2026

This was making a bunch of test_signature tests fail / be xfailed. The core of the change is that the regex was looking for x1: array while from 2024.12 the text was x1: Union[array | int] etc.

This was mostly harmless, modulo bitwise functions (bitwise_left_shift etc) which we incorrectly classed as being able to receive "numeric" inputs.

The regex fix is by copilot.

This was make a bunch of test_signature tests fail / be xfailed. The core of
the change is that the regex was looking for `x1: array` while from 2024.12
the text was `x1: Union[array | int]` etc.
@ev-br ev-br merged commit 1ee7028 into data-apis:master Feb 8, 2026
5 checks passed
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.

1 participant