-
-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coverage run fails with a re.error
with Python 3.9a6+
#988
Comments
Thanks, this was exotic.
In 3.9a6+:
This only showed up because urllib3's omit setting has two patterns with two asterisks: https://github.com/urllib3/urllib3/blob/master/.coveragerc#L6-L11 Now to figure out what to do about it. |
re.error
with Pythonre.error
with Python 3.9a6+
Ned, I believe this will fix it for you: Thanks for tracking it down! I'll push that change tonight provided the tests all pass. |
I can confirm that Tim's change does fix the problem. |
Thanks everyone! |
coverage run
fails with are.error
in Python nightlyTo Reproduce
nox -s test-3.9
coverage run --parallel-mode -m pytest -r a --tb=native --no-success-flaky-report test/
Sorry, I did not try this outside of a failing CI job: https://travis-ci.org/github/urllib3/urllib3/jobs/685596004
By comparing the last known good build, I can tell that the problem has been introduced in one of those commits: python/cpython@f01d1be...85bdec1
Expected behavior
I would expect the tests to run.
Additional context
Instead, I get the following traceback:
Since the traceback is fully in coverage.py, I expect that the details about urllib3 are irrelevant.
The text was updated successfully, but these errors were encountered: