Skip to content

Commit 66a9984

Browse files
committed
cover partial branch in fParseNoteDefs.
1 parent d717e1b commit 66a9984

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

textile/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ def fParseNoteDefs(self, m):
14901490
self._increment_link_index())}
14911491

14921492
# Ignores subsequent defs using the same label
1493-
if 'def' not in self.notes[label]:
1493+
if 'def' not in self.notes[label]: # pragma: no branch
14941494
self.notes[label]['def'] = {'atts': pba(att), 'content':
14951495
self.graf(content), 'link': link}
14961496
return ''

0 commit comments

Comments
 (0)