summaryrefslogtreecommitdiff
path: root/coverage/files.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/files.py')
-rw-r--r--coverage/files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/files.py b/coverage/files.py
index 76ecbef9..82f4df31 100644
--- a/coverage/files.py
+++ b/coverage/files.py
@@ -309,7 +309,7 @@ def _glob_to_regex(pattern):
path_rx = []
pos = 0
while pos < len(pattern):
- for rx, sub in G2RX_TOKENS:
+ for rx, sub in G2RX_TOKENS: # pragma: always breaks
m = rx.match(pattern, pos=pos)
if m:
if sub is None: