Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a bug in the NewType conformance test that was based on a misre… #1581

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

erictraut
Copy link
Collaborator

…ading of the spec. A NewType created from another NewType should be allowed. Also fixed a minor bug in the protocols_class_objects test where the test depended on an unspecified aspect of the type spec.

…ading of the spec. A NewType created from another NewType should be allowed. Also fixed a minor bug in the `protocols_class_objects` test where the test depended on an unspecified aspect of the type spec.
@erictraut erictraut merged commit 2142958 into python:main Jan 13, 2024
3 checks passed
@erictraut erictraut deleted the new_type_bug_fix branch January 13, 2024 22:57
hauntsaninja pushed a commit to hauntsaninja/typing that referenced this pull request Jan 16, 2024
python#1581)

Fixed a bug in the NewType conformance test that was based on a misreading of the spec. A NewType created from another NewType should be allowed. Also fixed a minor bug in the `protocols_class_objects` test where the test depended on an unspecified aspect of the type spec.
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