Consolidate cover envs and default to py3-cover (#7905)

* Consolidate cover envs and default to py3-cover

* use py38 for code coverage in Travis

* Disable coverage on Python < 3.6 line.
This commit is contained in:
Brad Warren
2020-04-16 08:59:40 -07:00
committed by GitHub
parent f66314926a
commit 859dc38cb9
3 changed files with 12 additions and 23 deletions
@@ -741,7 +741,7 @@ class ApacheParser(object):
"""
if sys.version_info < (3, 6):
# This strips off final /Z(?ms)
return fnmatch.translate(clean_fn_match)[:-7]
return fnmatch.translate(clean_fn_match)[:-7] # pragma: no cover
# Since Python 3.6, it returns a different pattern like (?s:.*\.load)\Z
return fnmatch.translate(clean_fn_match)[4:-3] # pragma: no cover