diff options
-rw-r--r-- | exercises.py | 6 | ||||
-rw-r--r-- | setup.cfg | 1 | ||||
-rw-r--r-- | tox.ini | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/exercises.py b/exercises.py new file mode 100644 index 00000000..76176be5 --- /dev/null +++ b/exercises.py @@ -0,0 +1,6 @@ +def measure_startup_perf(): + # run by pytest_perf + import subprocess + import sys # end warmup + + subprocess.check_call([sys.executable, '-c', 'pass']) @@ -50,6 +50,7 @@ testing = # workaround for jaraco/skeleton#22 python_implementation != "PyPy" pytest-enabler >= 1.0.1 + pytest-perf # local mock @@ -15,6 +15,8 @@ extras = testing passenv = SETUPTOOLS_USE_DISTUTILS windir # required for test_pkg_resources + # honor git config in pytest-perf + HOME [testenv:integration] deps = {[testenv]deps} |