diff options
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 |