Closed iProzd closed 1 week ago
source/tests/pt/test_training.py (1)
Line range hint `14-14`: **Review of `tearDown` method removal in test methods** The removal of explicit `tearDown` calls in the test methods `test_dp_train` and `test_trainable` aligns with Python's `unittest` best practices. Since `tearDown` is automatically invoked after each test method, explicit calls are redundant and can lead to confusion or errors. This change simplifies the test flow and avoids potential double execution of teardown processes, which could interfere with test isolation and accuracy.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 82.72%. Comparing base (
ee4af27
) to head (641cc96
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fix #3901 .
Summary by CodeRabbit
test_dp_train
andtest_trainable
methods.