diff options
Diffstat (limited to 'python/py/py/test.py')
-rw-r--r-- | python/py/py/test.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python/py/py/test.py b/python/py/py/test.py new file mode 100644 index 000000000..aa5beb178 --- /dev/null +++ b/python/py/py/test.py @@ -0,0 +1,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 |