mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:05:31 +02:00
ignore regexp failures in nose coverage
This commit is contained in:
@@ -411,7 +411,7 @@ def _regex_match(target_name, name):
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
except re.error:
|
||||
except re.error: # pragma: no cover
|
||||
# perl-compatible regexes are sometimes not recognized by python
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user