Skip to content

Commit d944fa1

Browse files
committed
don't fail because of coverage on os/py pairs
1 parent d03575a commit d944fa1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/utest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
("Windows", "38"): ["-k", "not serverextension"]
1414
}
1515

16+
DEFAULT_ARGS = ["--cov-fail-under=100"]
17+
1618

1719
def run_tests():
1820
""" actually run the tests
@@ -27,9 +29,8 @@ def run_tests():
2729
"-p",
2830
"no:warnings",
2931
"--flake8",
30-
"--cov-fail-under=100",
3132
"-vv",
32-
*OS_PY_ARGS.get((OS, PY), []),
33+
*OS_PY_ARGS.get((OS, PY), DEFAULT_ARGS),
3334
] + list(sys.argv[1:])
3435

3536
return pytest.main(args)

0 commit comments

Comments
 (0)