Repository navigation
Migrate test_extensions to pytest - #1440
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1440 +/- ##
=======================================
Coverage 53.84% 53.84%
=======================================
Files 63 63
Lines 5230 5230
=======================================
Hits 2816 2816
Misses 2414 2414 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Thanks for the contribution! |
Metadata
Details
unittest.TestCase-based tests (openml.testing.TestBase) to pure pytest-style tests.TestInitwith module-level test functions and introduces a small pytest fixture to manage the registration state of dummy extensions used in the tests.clean_test_extensionsfixture calls the existing_unregister()helper before and after each test, ensuring the global extension registry is not polluted across tests.assertandpytest.raises, consistent with the style already used in test_utils.py.