pytest/testing/freeze/runtests_script.py

15 lines
230 B
Python

"""
This is the script that is actually frozen into an executable: simply executes
pytest main().
"""
from __future__ import annotations
if __name__ == "__main__":
import sys
import pytest
sys.exit(pytest.main())