Skip to content

Commit 08de299

Browse files
committed
style
1 parent e5259f3 commit 08de299

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

tests/test_indexing.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ def test_place2(arr, mask, vals):
130130
'[100, 200, 300, 400, 500, 600]',
131131
'[100, 200, 300, 400, 500, 600, 800, 900]'])
132132
@pytest.mark.parametrize("mask",
133-
[[[[[False, False], [True, True]], [[True, True], [True, True]]], [[[False, False], [True, True]], [[False, False], [False, False]]]]],
133+
[[[[[False, False], [True, True]], [[True, True], [True, True]]], [
134+
[[False, False], [True, True]], [[False, False], [False, False]]]]],
134135
ids=['[[[[False, False], [True, True]], [[True, True], [True, True]]], [[[False, False], [True, True]], [[False, False], [False, False]]]]'])
135136
@pytest.mark.parametrize("arr",
136137
[[[[[1, 2], [3, 4]], [[1, 2], [2, 1]]], [[[1, 3], [3, 1]], [[0, 1], [1, 3]]]]],
@@ -265,7 +266,8 @@ def test_putmask2(arr, mask, vals):
265266
'[100, 200, 300, 400, 500, 600]',
266267
'[100, 200, 300, 400, 500, 600, 800, 900]'])
267268
@pytest.mark.parametrize("mask",
268-
[[[[[False, False], [True, True]], [[True, True], [True, True]]], [[[False, False], [True, True]], [[False, False], [False, False]]]]],
269+
[[[[[False, False], [True, True]], [[True, True], [True, True]]], [
270+
[[False, False], [True, True]], [[False, False], [False, False]]]]],
269271
ids=['[[[[False, False], [True, True]], [[True, True], [True, True]]], [[[False, False], [True, True]], [[False, False], [False, False]]]]'])
270272
@pytest.mark.parametrize("arr",
271273
[[[[[1, 2], [3, 4]], [[1, 2], [2, 1]]], [[[1, 3], [3, 1]], [[0, 1], [1, 3]]]]],

tests/test_linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def test_norm3(array, ord, axis):
203203
[numpy.float64, numpy.float32, numpy.int64, numpy.int32, numpy.complex128],
204204
ids=['float64', 'float32', 'int64', 'int32', 'complex128'])
205205
@pytest.mark.parametrize("shape",
206-
[(2,2), (3,4), (5,3), (16,16)],
206+
[(2, 2), (3, 4), (5, 3), (16, 16)],
207207
ids=['(2,2)', '(3,4)', '(5,3)', '(16,16)'])
208208
def test_svd(type, shape):
209209
a = numpy.arange(shape[0] * shape[1], dtype=type).reshape(shape)

0 commit comments

Comments
 (0)