source/tools/python/bzl_pytest_shim.py

11 lines
186 B
Python
Raw Normal View History

2021-04-09 07:16:16 +00:00
"""A shim for executing pytest."""
import os
2021-04-08 06:37:51 +00:00
import sys
import pytest
if __name__ == "__main__":
cmdline = ["--ignore=external"] + sys.argv[1:]
sys.exit(pytest.main(cmdline))