megapy/.tox/py37-normal/lib/python3.7/site-packages/py/test.py

11 lines
222 B
Python
Raw Normal View History

2019-10-16 21:16:46 +00: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