summaryrefslogtreecommitdiff
path: root/src/pytest/__main__.py
diff options
context:
space:
mode:
authorBruno Oliveira <bruno@esss.com.br>2019-12-02 15:18:04 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2019-12-02 19:27:11 -0300
commite5bd7fb0530efa49e5ca7d5fcd9fd741968226b0 (patch)
tree9e0b1f3d1eb1053f8f01a3fcf898ce4bceb8d5e7 /src/pytest/__main__.py
parent256a9e0027f8479d3e9951ffd00e41df00e603d7 (diff)
downloadpytest-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__.py7
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())