summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_arraysetops.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/tests/test_arraysetops.py')
-rw-r--r--numpy/lib/tests/test_arraysetops.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/numpy/lib/tests/test_arraysetops.py b/numpy/lib/tests/test_arraysetops.py
index 36b53c8e6..ccdcc7556 100644
--- a/numpy/lib/tests/test_arraysetops.py
+++ b/numpy/lib/tests/test_arraysetops.py
@@ -21,7 +21,7 @@ class test_aso(NumpyTestCase):
ec = numpy.array( [1, 2, 5, 7] )
c = unique1d( a )
assert_array_equal( c, ec )
-
+
assert_array_equal([], unique1d([]))
##
@@ -34,7 +34,7 @@ class test_aso(NumpyTestCase):
ec = numpy.array( [1, 2, 5] )
c = intersect1d( a, b )
assert_array_equal( c, ec )
-
+
assert_array_equal([], intersect1d([],[]))
##
@@ -47,7 +47,7 @@ class test_aso(NumpyTestCase):
ec = numpy.array( [1, 2, 5] )
c = intersect1d_nu( a, b )
assert_array_equal( c, ec )
-
+
assert_array_equal([], intersect1d_nu([],[]))
##
@@ -74,14 +74,14 @@ class test_aso(NumpyTestCase):
ec = numpy.array( [1, 2, 3, 4, 5, 6] )
c = setxor1d( a, b )
assert_array_equal( c, ec )
-
+
assert_array_equal([], setxor1d([],[]))
def check_ediff1d(self):
zero_elem = numpy.array([])
one_elem = numpy.array([1])
two_elem = numpy.array([1,2])
-
+
assert_array_equal([],ediff1d(zero_elem))
assert_array_equal([0],ediff1d(zero_elem,to_begin=0))
assert_array_equal([0],ediff1d(zero_elem,to_end=0))
@@ -109,7 +109,7 @@ class test_aso(NumpyTestCase):
ec = numpy.array( [True, False, True, False] )
c = setmember1d( a, b )
assert_array_equal( c, ec )
-
+
assert_array_equal([], setmember1d([],[]))
##
@@ -122,7 +122,7 @@ class test_aso(NumpyTestCase):
ec = numpy.array( [1, 2, 3, 4, 5, 7] )
c = union1d( a, b )
assert_array_equal( c, ec )
-
+
assert_array_equal([], union1d([],[]))
##
@@ -142,7 +142,7 @@ class test_aso(NumpyTestCase):
ec = numpy.array( [19, 20] )
c = setdiff1d( a, b )
assert_array_equal( c, ec )
-
+
assert_array_equal([], setdiff1d([],[]))