diff options
Diffstat (limited to 'markdown/extensions')
-rw-r--r-- | markdown/extensions/attr_list.py | 2 | ||||
-rw-r--r-- | markdown/extensions/codehilite.py | 2 | ||||
-rw-r--r-- | markdown/extensions/tables.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/markdown/extensions/attr_list.py b/markdown/extensions/attr_list.py index 8b65f56..f0508cd 100644 --- a/markdown/extensions/attr_list.py +++ b/markdown/extensions/attr_list.py @@ -27,7 +27,7 @@ import re try: Scanner = re.Scanner -except AttributeError: +except AttributeError: #pragma: no cover # must be on Python 2.4 from sre import Scanner diff --git a/markdown/extensions/codehilite.py b/markdown/extensions/codehilite.py index 428bd0c..f379da7 100644 --- a/markdown/extensions/codehilite.py +++ b/markdown/extensions/codehilite.py @@ -244,7 +244,7 @@ class CodeHiliteExtension(Extension): if value == 'False': value = False if value == 'None': value = None - if key == 'force_linenos': + if key == 'force_linenos': #pragma: no cover warnings.warn('The "force_linenos" config setting' ' to the CodeHilite extension is deprecrecated.' ' Use "linenums" instead.', DeprecationWarning) diff --git a/markdown/extensions/tables.py b/markdown/extensions/tables.py index ad52ec1..cfac0bc 100644 --- a/markdown/extensions/tables.py +++ b/markdown/extensions/tables.py @@ -71,7 +71,7 @@ class TableProcessor(BlockProcessor): c = etree.SubElement(tr, tag) try: c.text = cells[i].strip() - except IndexError: + except IndexError: #pragma: no cover c.text = "" if a: c.set('align', a) |