diff options
author | Waylan Limberg <waylan@gmail.com> | 2014-07-11 21:24:30 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2014-07-11 21:24:30 -0400 |
commit | 7d728afc3a684afadc7fa5c4672811ac0cc2fa98 (patch) | |
tree | 25e65c3520c2f7760d48a33ed7bc2322feb3cc59 /markdown/extensions | |
parent | df170411f369d20f85a4718698cdff100271b587 (diff) | |
download | markdown-7d728afc3a684afadc7fa5c4672811ac0cc2fa98.tar.gz markdown-7d728afc3a684afadc7fa5c4672811ac0cc2fa98.tar.bz2 markdown-7d728afc3a684afadc7fa5c4672811ac0cc2fa98.zip |
Marked a bunch of lines as 'no cover'. Coverage at 91%
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) |