From 75e590a839f0da9ce160d3756d550ae20fffb082 Mon Sep 17 00:00:00 2001 From: aitbc Date: Sat, 9 May 2026 12:08:09 +0200 Subject: [PATCH] fix: use timezone.utc in test_block_import.py --- tests/verification/test_block_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/verification/test_block_import.py b/tests/verification/test_block_import.py index 959db700..a4ae8285 100644 --- a/tests/verification/test_block_import.py +++ b/tests/verification/test_block_import.py @@ -36,7 +36,7 @@ def test_block_import(): print("\n1. Testing valid block import...") height = base_height parent_hash = head["hash"] - timestamp = datetime.now(UTC).isoformat() + "Z" + timestamp = datetime.now(timezone.utc).isoformat() + "Z" valid_hash = compute_block_hash(height, parent_hash, timestamp) response = requests.post(