diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-02-24 15:15:18 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-02-24 20:44:17 -0500 |
commit | 84cbf083a18a814c501eecb450d7ac4126e74054 (patch) | |
tree | 31bd5beecd6f6d6ca1d736b2e87c5264a3f271a6 /igor.py | |
parent | ec9668269897631a263b71fb9727555570e9f24f (diff) | |
download | python-coveragepy-git-84cbf083a18a814c501eecb450d7ac4126e74054.tar.gz |
build: nicer publishing of HTML report
Also, this correctly combines results from different runners.
Diffstat (limited to 'igor.py')
-rw-r--r-- | igor.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,7 +20,11 @@ import textwrap import warnings import zipfile -import pytest +try: + import pytest +except ImportError: + # We want to be able to run this for some tasks that don't need pytest. + pytest = None # Contants derived the same as in coverage/env.py. We can't import # that file here, it would be evaluated too early and not get the |