Skip to content

Don't skip NamedTuple tests on 3.11+. Also make them pass on 3.11+. - #2

Merged
adriangb merged 1 commit into
adriangb:typeddict-basesfrom
AlexWaygood:typeddict-bases
Apr 24, 2023
Merged

adriangb merged 1 commit into
adriangb:typeddict-basesfrom
AlexWaygood:typeddict-bases

Conversation

@AlexWaygood

Copy link
Copy Markdown

I was confused about why the NamedTuple tests were passing on 3.11 -- they shouldn't have been! (See my comment here for an expalnation why: python#150 (review)).

I realised I was the culprit here: https://github.com/python/typing_extensions/blame/main/src/test_typing_extensions.py#L3787 😆

This PR makes it so that we don't skip the tests on 3.11+. It also makes the newly-unskipped tests pass on 3.11!

@adriangb
adriangb merged commit 6365ab1 into adriangb:typeddict-bases Apr 24, 2023
@AlexWaygood
AlexWaygood deleted the typeddict-bases branch April 24, 2023 17:48
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.

2 participants