Skip to content

Commit 91388b8

Browse files
committed
Applied pre-commit
1 parent f832c62 commit 91388b8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

dpnp/tests/test_random_state.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,10 @@ def test_size_castable_to_integer(self):
11271127
assert result.shape == size
11281128

11291129
@pytest.mark.parametrize("xp", [numpy, dpnp])
1130-
@pytest.mark.parametrize("size", [True, [True], dpnp.bool(True), numpy.array(True), numpy.array([True])])
1130+
@pytest.mark.parametrize(
1131+
"size",
1132+
[True, [True], dpnp.bool(True), numpy.array(True), numpy.array([True])],
1133+
)
11311134
def test_bool_size(self, xp, size):
11321135
rs = xp.random.RandomState()
11331136
assert_raises(TypeError, rs.uniform, size=size)
@@ -1138,4 +1141,4 @@ def test_numpy_ndarray_size(self, size):
11381141
assert result.shape == size
11391142

11401143
def test_dpnp_ndarray_size(self):
1141-
assert_raises(ValueError, RandomState().uniform, size=dpnp.array(1))
1144+
assert_raises(ValueError, RandomState().uniform, size=dpnp.array(1))

0 commit comments

Comments
 (0)