Skip to content

migrate testsuite to pytest #36

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
Jan 12, 2025

Conversation

eli-schwartz
Copy link
Contributor

nose is deprecated and abandoned and doesn't work on modern python versions. It isn't packaged by distros and installing it successfully installs a broken "nosetests" command that doesn't work with python 3.10 and on.

pytest has automatic support for sugaring asserts without special syntax, and automatic support for not treating non-test functions as tests. It works great and without any effort. Let's use it. :)

nose is deprecated and abandoned and doesn't work on modern python
versions. It isn't packaged by distros and installing it successfully
installs a broken "nosetests" command that doesn't work with python 3.10
and on.

pytest has automatic support for sugaring asserts without special
syntax, and automatic support for not treating non-test functions as
tests. It works great and without any effort. Let's use it. :)

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Copy link
Owner

@ikegami-yukino ikegami-yukino left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@ikegami-yukino ikegami-yukino merged commit b82abca into ikegami-yukino:master Jan 12, 2025
@eli-schwartz eli-schwartz deleted the pytest branch January 12, 2025 18:43
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