fix coverage for pytest runner

This commit is contained in:
Bastien Gérard
2019-08-26 17:12:56 +03:00
parent bbfa978861
commit 5a16dda50d
2 changed files with 9 additions and 3 deletions

View File

@@ -113,7 +113,13 @@ CLASSIFIERS = [
extra_opts = {
"packages": find_packages(exclude=["tests", "tests.*"]),
"tests_require": ["pytest<5.0", "coverage==4.2", "blinker", "Pillow>=2.0.0"],
"tests_require": [
"pytest<5.0",
"pytest-cov",
"coverage",
"blinker",
"Pillow>=2.0.0",
],
}
if sys.version_info[0] == 3:
extra_opts["use_2to3"] = True