We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5926c9 commit 915eef5Copy full SHA for 915eef5
test/test_runset.py
@@ -331,10 +331,11 @@ def test_metric_output_filename() -> None:
331
)
332
runset = RunSet(args=cmdstan_args, chains=2)
333
assert len(runset.metric_files) == 2
334
- assert all(
+ correct_output_files = [
335
f.endswith(f"{base_file}_{i}_metric.json")
336
for i, f in zip(chain_ids, runset.metric_files)
337
- )
+ ]
338
+ assert all(correct_output_files)
339
340
runset = RunSet(args=cmdstan_args, chains=2, one_process_per_chain=False)
341
0 commit comments