diff --git a/tests/test_validate.py b/tests/test_validate.py index b0ddccf..602577b 100644 --- a/tests/test_validate.py +++ b/tests/test_validate.py @@ -169,7 +169,7 @@ def test_revocation_mode_soft_fail(): context = ValidationContext( trust_roots=ca_certs, other_certs=other_certs, - moment=datetime(2023, 1, 10, tzinfo=pytz.UTC), + moment=datetime(2023, 1, 10, tzinfo=timezone.utc), allow_fetching=True, weak_hash_algos={'md2', 'md5'}, fetcher_backend=MockFetcherBackendWithValidationError(),