RohanExploit/Meta-hackathon
0
1"""Run pytest with host plugin autoload disabled.2 3This avoids failures from globally installed pytest plugins on this machine.4"""5 6from __future__ import annotations7 8import os9import sys10 11 12def main() -> int:13 os.environ.setdefault("PYTEST_DISABLE_PLUGIN_AUTOLOAD", "1")14 15 import pytest16 17 args = sys.argv[1:] or ["tests"]18 return int(pytest.main(args))19 20 21if __name__ == "__main__":22 raise SystemExit(main())23 