From abd58e15ba5c7603fe68871ab9904a8422e7042f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 23 Sep 2022 10:12:52 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/python/test_bit_operations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/python/test_bit_operations.py b/tests/python/test_bit_operations.py index c3ac248a1557e..9cea78323aa09 100644 --- a/tests/python/test_bit_operations.py +++ b/tests/python/test_bit_operations.py @@ -42,7 +42,8 @@ def sar_assign(a: ti.i32, b: ti.i32) -> ti.i32: assert sar(test_num, i) == sar_assign(test_num, i) == 2**(n - i) # for negative number for i in range(n): - assert sar(neg_test_num, i) == sar_assign(neg_test_num, i) == -2**(n - i) + assert sar(neg_test_num, i) == sar_assign(neg_test_num, + i) == -2**(n - i) @test_utils.test()