Skip to content

Commit 3ee845f

Browse files
committed
fix: multifield join should produce the same set of outputs
1 parent 06c0293 commit 3ee845f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/tests/test_join.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def test_multifield_join_node():
397397
assert_equal(len(result.nodes()), 10,
398398
"The number of expanded nodes is incorrect.")
399399
# the product inputs are [2, 4], [2, 5], [3, 4], [3, 5]
400-
assert_equal(_products, [8, 10, 12, 15],
400+
assert_equal(set(_products), set([8, 10, 12, 15]),
401401
"The post-join products is incorrect: %s." % _products)
402402

403403
os.chdir(cwd)

0 commit comments

Comments
 (0)