source/tools/python/bzl_pytest_shim.py
2021-05-31 12:28:46 -06:00

10 lines
177 B
Python

"""A shim for executing pytest."""
import sys
import pytest
if __name__ == "__main__":
cmdline = ["--ignore=external"] + sys.argv[1:]
sys.exit(pytest.main(cmdline))