diff options
author | Bruno Oliveira <bruno@esss.com.br> | 2019-12-02 15:18:04 -0300 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2019-12-02 19:27:11 -0300 |
commit | e5bd7fb0530efa49e5ca7d5fcd9fd741968226b0 (patch) | |
tree | 9e0b1f3d1eb1053f8f01a3fcf898ce4bceb8d5e7 /src/pytest/__main__.py | |
parent | 256a9e0027f8479d3e9951ffd00e41df00e603d7 (diff) | |
download | pytest-e5bd7fb0530efa49e5ca7d5fcd9fd741968226b0.tar.gz |
Convert pytest.py into a package
As discussed in https://github.com/pytest-dev/pytest/issues/3342, this
is the first step to make pytest support static typing fully
Diffstat (limited to 'src/pytest/__main__.py')
-rw-r--r-- | src/pytest/__main__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pytest/__main__.py b/src/pytest/__main__.py new file mode 100644 index 000000000..01b2f6ccf --- /dev/null +++ b/src/pytest/__main__.py @@ -0,0 +1,7 @@ +""" +pytest entry point +""" +import pytest + +if __name__ == "__main__": + raise SystemExit(pytest.main()) |