# TODO: This tool requires PyYAML, which is not yet a required build/test | |
# dependency. Remove this exclusion once it is a required dep. | |
# Since both lit and the python bindings use the same python interpreter, | |
# we can just check whether yaml can be imported here and exclude if not. | |
try: | |
import yaml | |
except ModuleNotFoundError: | |
config.unsupported = True |