diff --git a/tests/test_account_erasure.py b/tests/test_account_erasure.py index 0c3e1f9..99f1a96 100644 --- a/tests/test_account_erasure.py +++ b/tests/test_account_erasure.py @@ -170,7 +170,7 @@ class TestStripeCancel: cancellation made in the portal whose webhook never landed. If that raised, the one account impossible to delete would be the one Stripe already stopped charging.""" - import stripe + stripe = pytest.importorskip("stripe") # not in the minimal CI deps class _Row: stripe_subscription_id = "sub_gone"