diff options
author | Stefan van der Walt <stefan@sun.ac.za> | 2007-01-08 21:56:54 +0000 |
---|---|---|
committer | Stefan van der Walt <stefan@sun.ac.za> | 2007-01-08 21:56:54 +0000 |
commit | 1bd2d49ef378fb869d015cef32c3e44a4c03a8f0 (patch) | |
tree | 43335baf1da0b6e9de0ad806e721a077e3cbfa45 /numpy/lib/tests/test_arraysetops.py | |
parent | 98b6d48b07f4eadfb7d1fc41483debe7e07eecd6 (diff) | |
download | numpy-1bd2d49ef378fb869d015cef32c3e44a4c03a8f0.tar.gz |
Whitespace cleanup.
Diffstat (limited to 'numpy/lib/tests/test_arraysetops.py')
-rw-r--r-- | numpy/lib/tests/test_arraysetops.py | 16 |
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([],[])) |