Skip to content

python: nose -> pytest #76

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

Merged
merged 1 commit into from
Jul 31, 2024
Merged

python: nose -> pytest #76

merged 1 commit into from
Jul 31, 2024

Conversation

pyrox0
Copy link
Contributor

@pyrox0 pyrox0 commented Jul 29, 2024

This converts the python testing suite from the deprecated nose test runner to pytest. Besides the dependencies, there are as few changes to the code as possible, to ensure that test behavior has not changed. I've checked, and all tests pass on python 3.9+, but I don't have any 2.7 or 3.8 environments to test on at the moment.

@jrconlin
Copy link
Member

Hi! Thanks for this. I'll be honest, I kinda forgot about this library, so my apologies for not keeping things up-to-date.

The config changes are mostly just to prevent anything that might be scanning the test output from breaking. If there are things you can't replicate, I'm not going to force the issue.

@pyrox0
Copy link
Contributor Author

pyrox0 commented Jul 29, 2024

I've updated the commit, so that the pytest.ini should now be fully in-line with the former .noserc configuration.

@jrconlin
Copy link
Member

Gonna give @martinthomson a chance to look this over (He's on AUNZ time so ~+12), but I'll merge these soon.

Thanks!

Copy link
Member

@martinthomson martinthomson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jrconlin jrconlin merged commit e6907b9 into web-push-libs:main Jul 31, 2024
@jrconlin
Copy link
Member

Right, so 1.2.1 is ready to go, but I don't have access to https://pypi.org/project/http-ece/, so @martinthomson will have to push.

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.

3 participants