From f138cc873b7f52187914c6837f2a86d37056790b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 5 Apr 2022 01:54:22 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_ujson.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_ujson.py b/tests/test_ujson.py index 8f3ca1e0..636c4ace 100644 --- a/tests/test_ujson.py +++ b/tests/test_ujson.py @@ -443,11 +443,11 @@ def test_decode_number_with32bit_sign_bit(): # sign bit set (2**31 <= x < 2**32) are decoded properly. docs = ( '{"id": 3590016419}', - '{"id": %s}' % 2 ** 31, - '{"id": %s}' % 2 ** 32, - '{"id": %s}' % ((2 ** 32) - 1), + '{"id": %s}' % 2**31, + '{"id": %s}' % 2**32, + '{"id": %s}' % ((2**32) - 1), ) - results = (3590016419, 2 ** 31, 2 ** 32, 2 ** 32 - 1) + results = (3590016419, 2**31, 2**32, 2**32 - 1) for doc, result in zip(docs, results): assert ujson.decode(doc)["id"] == result