Skip to content

Commit ff70ac8

Browse files
committed
Fix pylint issue
1 parent 2aa4254 commit ff70ac8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/post_training/integration/single_host_train_rl_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def _run_rl_workflow_end_to_end(self, extra_argv):
9393
trainer_config, sampler_config, trainer_devices, sampler_devices
9494
)
9595

96-
rl_cluster, rl_trainer, _ = train_rl.create_rl_components(
96+
rl_cluster, rl_trainer, _, _ = train_rl.create_rl_components(
9797
trainer_config,
9898
sampler_config,
9999
sampler_devices,
@@ -137,7 +137,7 @@ def _run_rl_workflow_end_to_end(self, extra_argv):
137137

138138
# Verify results
139139
for metrics in [pre_metrics, post_metrics]:
140-
corr, total, acc, partial_acc, format_acc = metrics
140+
corr, total, acc, partial_acc, format_acc, _ = metrics
141141
self.assertGreaterEqual(total, 1, "There should be at least one eval item")
142142
self.assertGreaterEqual(corr, 0, "Correct items should be non-negative")
143143
self.assertTrue(0.0 <= partial_acc <= 100.0, "Partial accuracy should be a percentage between 0 and 100")

0 commit comments

Comments
 (0)