equal
deleted
inserted
replaced
|
1 import sys |
|
2 if __name__ == '__main__': |
|
3 import pytest |
|
4 sys.exit(pytest.main()) |
|
5 else: |
|
6 import sys, pytest |
|
7 sys.modules['py.test'] = pytest |
|
8 |
|
9 # for more API entry points see the 'tests' definition |
|
10 # in __init__.py |