From f56d3f993d90f1bff6334689df8209ef83f5a7a2 Mon Sep 17 00:00:00 2001 From: Matthias Valvekens Date: Sat, 18 Nov 2023 21:34:14 +0100 Subject: [PATCH] Fix another pytz import in test (d'oh) --- tests/test_validate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),