Skip to content

Commit d3f3484

Browse files
committed
Merge pull request #3 from satra/enh/py3k-fix
fix: multifield join should produce the same set of outputs
2 parents 0edd448 + 3ee845f commit d3f3484

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)