From fe4af02c63d7763470859a71d5ff93ddd2941db0 Mon Sep 17 00:00:00 2001 From: Bharadwaj Date: Thu, 24 Nov 2016 14:26:02 +0000 Subject: [PATCH] Modified the assertion on the arrays.union() tests --- tests/test_arrays.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_arrays.py b/tests/test_arrays.py index ceeffd1..bd03d5c 100644 --- a/tests/test_arrays.py +++ b/tests/test_arrays.py @@ -207,4 +207,4 @@ def test_subtract(array, item, expected): (['a', 'b', 'c'], ['b', 'c', 'd'], ['a', 'b', 'c', 'd']) ]) def test_union(array, other, expected): - assert _.union(array, other) == expected + assert set(_.union(array, other)) == set(expected)