-
Notifications
You must be signed in to change notification settings - Fork 399
[Enhancement] Clear UT warning caused by pytest #947
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
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #947 +/- ##
=======================================
Coverage ? 76.64%
=======================================
Files ? 138
Lines ? 10816
Branches ? 2163
=======================================
Hits ? 8290
Misses ? 2170
Partials ? 356
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Clear UT warning caused by pytest. More details at https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose
scikit-learn/scikit-learn#22572
Modification
Replace
setup(self)
withsetup_method(self)
andteardown(self)
withteardown_method(self)
.BC-breaking (Optional)
No
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist