Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 5, 2024
1 parent 080fdbc commit a86cd3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_api_jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_encode_bad_type(self, jwt):
for t in types:
pytest.raises(
TypeError,
lambda t= t: jwt.encode(t, "secret", algorithms=["HS256"]),
lambda t=t: jwt.encode(t, "secret", algorithms=["HS256"]),
)

def test_encode_with_typ(self, jwt):
Expand Down

0 comments on commit a86cd3f

Please sign in to comment.