Skip to content

Commit 640d8fa

Browse files
committed
tst: fix assertion
1 parent ee9dac9 commit 640d8fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydra_ml/tests/test_classifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ def test_regressor(tmpdir):
6666

6767
wf = gen_workflow(inputs, cache_dir=tmpdir)
6868
results = run_workflow(wf, "cf", {"n_procs": 1})
69-
assert results[0][0]["ml_wf.clf_info"][1] == "MLPRegressor"
69+
assert results[0][0]["ml_wf.clf_info"][-1][1] == "MLPRegressor"
7070
assert results[0][0]["ml_wf.permute"]
7171
assert results[0][1].output.score[0][0] < results[1][1].output.score[0][0]

0 commit comments

Comments
 (0)