diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-07-30 15:14:11 -0600 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-07-31 21:08:04 +0200 |
commit | 0b5a6645ee110a8d4c6b5defd8c01791ee48bda1 (patch) | |
tree | dad4ce39a2a89e0655c9cd4b67e66fff90892f1c /numpy/lib/tests/test_arraysetops.py | |
parent | b2955ede452b8ca2aae5d0b035cd19c8a3b12480 (diff) | |
download | numpy-0b5a6645ee110a8d4c6b5defd8c01791ee48bda1.tar.gz |
STY: PEP8 compliance for numpy/lib/tests.
The possibly controversial part of this is making the nested array
value lists PEP8 compliant, as there is something to be said aligning
the values for clarity. In the end, it seemed like the easiest thing
to do was to make them PEP8 compliant. The eye can get used to that.
Diffstat (limited to 'numpy/lib/tests/test_arraysetops.py')
-rw-r--r-- | numpy/lib/tests/test_arraysetops.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/tests/test_arraysetops.py b/numpy/lib/tests/test_arraysetops.py index d2638e4b9..e83f8552e 100644 --- a/numpy/lib/tests/test_arraysetops.py +++ b/numpy/lib/tests/test_arraysetops.py @@ -96,8 +96,8 @@ class TestSetOps(TestCase): check_all(aa, bb, i1, i2, c, dt) # test for ticket #2799 - aa = [1.+0.j, 1- 1.j, 1] - assert_array_equal(np.unique(aa), [ 1.-1.j, 1.+0.j]) + aa = [1. + 0.j, 1 - 1.j, 1] + assert_array_equal(np.unique(aa), [1. - 1.j, 1. + 0.j]) # test for ticket #4785 a = [(1, 2), (1, 2), (2, 3)] |