AutoFramework/venv/Lib/site-packages/py/test.py

11 lines
222 B
Python
Raw Normal View History

2022-07-17 01:48:29 +08:00
import sys
if __name__ == '__main__':
import pytest
sys.exit(pytest.main())
else:
import sys, pytest
sys.modules['py.test'] = pytest
# for more API entry points see the 'tests' definition
# in __init__.py