From 7c34899c6cd9fc6c0de6a1fcfdaa791e7c553efa Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 21 Jul 2022 15:57:36 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_api_jwt.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_api_jwt.py b/tests/test_api_jwt.py index aee19fad..6509363a 100644 --- a/tests/test_api_jwt.py +++ b/tests/test_api_jwt.py @@ -423,7 +423,9 @@ def test_raise_exception_audience_as_bytes(self, jwt): payload = {"some": "payload", "aud": ["urn:me", "urn:someone-else"]} token = jwt.encode(payload, "secret") with pytest.raises(InvalidAudienceError): - jwt.decode(token, "secret", audience="urn:me".encode(), algorithms=["HS256"]) + jwt.decode( + token, "secret", audience="urn:me".encode(), algorithms=["HS256"] + ) def test_raise_exception_invalid_audience_in_array(self, jwt): payload = {