mirror of https://github.com/zulip/zulip.git
ruff: Fix E226 Missing whitespace around arithmetic operator.
This is a preview rule, not yet enabled by default. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
d748ec8d52
commit
82a9fd927b
|
@ -124,7 +124,9 @@ class ValidatorTestCase(ZulipTestCase):
|
|||
to_non_negative_int("x", "-1")
|
||||
with self.assertRaisesRegex(ValueError, re.escape("5 is too large (max 4)")):
|
||||
to_non_negative_int("x", "5", max_int_size=4)
|
||||
with self.assertRaisesRegex(ValueError, re.escape(f"{2**32} is too large (max {2**32-1})")):
|
||||
with self.assertRaisesRegex(
|
||||
ValueError, re.escape(f"{2**32} is too large (max {2**32 - 1})")
|
||||
):
|
||||
to_non_negative_int("x", str(2**32))
|
||||
|
||||
def test_check_float(self) -> None:
|
||||
|
|
Loading…
Reference in New Issue