File: test.py

package info (click to toggle)
python-setuptools 5.5.1-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,024 kB
  • ctags: 4,867
  • sloc: python: 24,503; xml: 846; makefile: 201; ansic: 198
file content (10 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (67)
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