File: test.py

package info (click to toggle)
python-py 1.11.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,512 kB
  • sloc: python: 11,660; makefile: 119; sh: 7
file content (10 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (72)
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