Skip to content

Commit 6bba5be

Browse files
committed
fix: Remove unused mock_trainer variable in test
- Removed unused mock_trainer variable in test_deploy_new_model_validation_failed - Resolves Ruff F841 error about unused variable assignment - All Ruff checks now pass cleanly
1 parent 75511a9 commit 6bba5be

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/integration/test_retraining_flow.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,6 @@ def test_deploy_new_model_validation_failed(self):
283283
model_file_path = Path(temp_dir) / "temp_model.pkl"
284284
model_file_path.write_text("dummy model")
285285

286-
mock_trainer = Mock()
287-
288286
validation_results = {
289287
"should_deploy": False,
290288
"new_accuracy": 0.40,

0 commit comments

Comments
 (0)