diff options
Diffstat (limited to 'sphinx/ext/coverage.py')
-rw-r--r-- | sphinx/ext/coverage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/coverage.py b/sphinx/ext/coverage.py index d7a55cbc6..9b3826e76 100644 --- a/sphinx/ext/coverage.py +++ b/sphinx/ext/coverage.py @@ -49,7 +49,7 @@ class CoverageBuilder(Builder): try: self.c_regexes.append((name, re.compile(exp))) except Exception: - warnfunc('invalid regex %r in coverage_c_regexes' % exp) + self.warn('invalid regex %r in coverage_c_regexes' % exp) self.c_ignorexps = {} for (name, exps) in self.config.coverage_ignore_c_items.iteritems(): |