summaryrefslogtreecommitdiff
path: root/lib/spack/external/pytest-fallback/py/test.py
blob: aa5beb1789f057604d8f13433951ea092848c1f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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