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

Annotations for tests, part 2 #728

Merged
merged 9 commits into from Dec 23, 2021
Merged

Conversation

DMRobertson
Copy link
Contributor

@DMRobertson DMRobertson commented Dec 23, 2021

Draft for now to see how CI runs. (Sorry, I'm lazy and would rather have GHA run the test suite!)

Much like #725.

I didn't spot much of interest here. In ec3dc04 there were a couple of tests which had a naked equality test without an assert, which I'm guessing isn't intentional.

Only fix here was to add an assertion to some bare equality tests.
The other changes are just clarifications.
This doesn't exist in the stdbib until Python 3.8, and I don't think
it's worth the faff to pull in `typing_extensions` just to annotate test
source code.
@DMRobertson DMRobertson marked this pull request as ready for review December 23, 2021 15:22
@DMRobertson DMRobertson mentioned this pull request Dec 23, 2021
@reaperhulk reaperhulk merged commit e980348 into pyca:main Dec 23, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants