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

11 lines
222 B
Python
Raw Normal View History

2021-07-21 21:33:05 +02: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