Skip to content

Conversation

frenzymadness
Copy link
Contributor

In Python 3.14 beta 1, generator expression returned by the iter method needs to be executed to throw the expected TypeError.

Fixes: #151

In Python 3.14 beta 1, generator expression returned by the
__iter__ method needs to be executed to throw the expected
TypeError.

Fixes: data-apis#151
@ev-br ev-br added this to the 2.4 milestone May 16, 2025
@ev-br
Copy link
Member

ev-br commented May 16, 2025

Okay, this only changes array-api-strict internal tests, it is reported to fix tests under python 3.14, and the CI confirms it does not affect previous CI versions. It thus looks like a no-brainer to me. Thanks @frenzymadness , it's great to see python 3.14 compliance, even if it's only in an rc phase!

@ev-br ev-br merged commit c74cb9e into data-apis:main May 16, 2025
19 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.

Test failure with Python 3.14 beta 1
2 participants