Skip to content

Commit 6a86de6

Browse files
authored
Update setup.py
1 parent 0b6d10d commit 6a86de6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ def run_tests(self):
2929

3030
try:
3131
import pytest_cov
32-
except ImportError:
3332
pytest_cmd += ["--cov-report=html", "--cov-report=annotate"]
33+
except ImportError:
34+
pass
3435

3536
errno = pytest.main(pytest_cmd)
3637
sys.exit(errno)

0 commit comments

Comments
 (0)