We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f37366 commit 02f788eCopy full SHA for 02f788e
exercises.py
@@ -0,0 +1,6 @@
1
+def measure_startup_perf():
2
+ # run by pytest_perf
3
+ import subprocess
4
+ import sys # end warmup
5
+
6
+ subprocess.check_call([sys.executable, '-c', 'pass'])
setup.cfg
@@ -50,6 +50,7 @@ testing =
50
# workaround for jaraco/skeleton#22
51
python_implementation != "PyPy"
52
pytest-enabler >= 1.0.1
53
+ pytest-perf
54
55
# local
56
mock
tox.ini
@@ -15,6 +15,8 @@ extras = testing
15
passenv =
16
SETUPTOOLS_USE_DISTUTILS
17
windir # required for test_pkg_resources
18
+ # honor git config in pytest-perf
19
+ HOME
20
21
[testenv:integration]
22
deps = {[testenv]deps}
0 commit comments