From 07428f2b3ddd453dcc4be0b873fafbb62fe735c6 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 54783e5c..bebe7d28 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 = {