Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/vercel-oidc/tests/test_verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,9 @@ def test_concurrent_cold_verifications_fetch_jwks_once(

def test_missing_crypto_backend_reports_the_extra(monkeypatch: pytest.MonkeyPatch) -> None:
"""PyJWT without `cryptography` must name the remedy, not raise AttributeError."""
import jwt
# The published-wheel test environment installs the package without the
# `verify` extra, so PyJWT may legitimately be absent there.
jwt = pytest.importorskip("jwt")

from vercel.oidc import verify as verify_module

Expand Down