[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:
parent
14c68edc9b
commit
563b5969bb
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user