Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Update nose-style test for pytest 8 support #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Chris-Peterson444
Copy link

Pytest 8 dropped support for nose style tests, which rely on module level functions named "setup". These tests can be migrated to pytest style tests by renaming the setup functions to "setup_module".

Pytest 8 dropped support for nose style tests, which rely on module level
functions named "setup". These tests can be migrated to pytest style tests
by renaming the setup functions to "setup_module".
@Chris-Peterson444
Copy link
Author

I ran into this issue in Ubuntu here: https://bugs.launchpad.net/ubuntu/+source/python-dtcwt/+bug/2068558

Also, this patch in isolation won't help with python3.12 / pytest 8 compatibility. There are also some numpy related patches (two at the time of writing this) that need to be forwarded here: https://udd.debian.org/patches.cgi?src=python-dtcwt&version=0.12.0-5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant