From f35ea97f02d53b7e0adf156abdeafb86dc8d09bc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 19:11:54 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/integration/test_diff.py | 35 ++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/tests/integration/test_diff.py b/tests/integration/test_diff.py index 29d2c598d..06d17e666 100644 --- a/tests/integration/test_diff.py +++ b/tests/integration/test_diff.py @@ -20,22 +20,25 @@ import cunumeric as cn -@pytest.mark.parametrize("args", [ - ((100,), 1, -1, None, None), - ((100,), 2, -1, None, None), - ((100,), 3, -1, None, None), - ((100,), 2, 0, None, None), - ((10, 10), 2, -1, None, None), - ((10, 10), 2, 0, None, None), - ((10, 10), 2, 1, None, None), - ((100,), 3, -1, [1.0, 2.0], None), - ((100,), 3, -1, None, [1.0, 2.0]), - ((100,), 3, -1, [1.0, 2.0], [1.0, 2.0]), - ((5,), 5, -1, None, None), - ((5,), 6, 0, None, None), - ((5,5), 5, 1, None, None), - ((5,5), 6, 1, None, None), -]) +@pytest.mark.parametrize( + "args", + [ + ((100,), 1, -1, None, None), + ((100,), 2, -1, None, None), + ((100,), 3, -1, None, None), + ((100,), 2, 0, None, None), + ((10, 10), 2, -1, None, None), + ((10, 10), 2, 0, None, None), + ((10, 10), 2, 1, None, None), + ((100,), 3, -1, [1.0, 2.0], None), + ((100,), 3, -1, None, [1.0, 2.0]), + ((100,), 3, -1, [1.0, 2.0], [1.0, 2.0]), + ((5,), 5, -1, None, None), + ((5,), 6, 0, None, None), + ((5, 5), 5, 1, None, None), + ((5, 5), 6, 1, None, None), + ], +) def test_diff(args): shape, n, axis, prepend, append = args num = np.random.random(shape)