Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
9 lines (8 sloc) 361 Bytes
# 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.
import yaml
except ModuleNotFoundError:
config.unsupported = True