From 563b5969bb55511ada43da96315fa1310810adb0 Mon Sep 17 00:00:00 2001 From: Alexander Richardson Date: Tue, 20 Jan 2026 09:35:27 -0800 Subject: [PATCH] [update_mc_test_checks.py] Fix python 3.8 compatibility Add `from __future__ import annotations` which is needed since https://github.com/llvm/llvm-project/pull/174011 landed. Pull Request: https://github.com/llvm/llvm-project/pull/176978 --- llvm/utils/update_mc_test_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/update_mc_test_checks.py b/llvm/utils/update_mc_test_checks.py index 869258ab6f69..a109fba5fc07 100755 --- a/llvm/utils/update_mc_test_checks.py +++ b/llvm/utils/update_mc_test_checks.py @@ -3,7 +3,7 @@ A test update script. This script is a utility to update LLVM 'llvm-mc' based test cases with new FileCheck patterns. """ -from __future__ import print_function +from __future__ import annotations, print_function from sys import stderr from traceback import print_exc