[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
This commit is contained in:
Alexander Richardson 2026-01-20 09:35:27 -08:00 committed by GitHub
parent 14c68edc9b
commit 563b5969bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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