usse/scrape/venv/lib/python3.10/site-packages/py/test.py

11 lines
222 B
Python
Raw Normal View History

2023-12-22 14:26:01 +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