summaryrefslogtreecommitdiff
path: root/test/cmark.py
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-01-03 22:08:38 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-03 22:08:38 -0800
commit60b6962db0b0488667180e11cc6cfb1cec1b41ea (patch)
tree9f3d399e48b781b5e363b47a2aa04e2b758e331c /test/cmark.py
parentcc50a3aba3e34dc58ca819a65b907871e2ea6fd9 (diff)
Revert "Change types for source map offsets (#174)"
This reverts commit 4fbe344df43ed7f60a3d3a53981088334cb709fc.
Diffstat (limited to 'test/cmark.py')
-rw-r--r--test/cmark.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/cmark.py b/test/cmark.py
index f4ff576..4be85a3 100644
--- a/test/cmark.py
+++ b/test/cmark.py
@@ -30,8 +30,6 @@ def to_commonmark(lib, text):
render_commonmark.restype = c_char_p
render_commonmark.argtypes = [c_void_p, c_int, c_int]
node = parse_document(textbytes, textlen, 0)
- if node is None:
- raise Exception("parse_document failed")
result = render_commonmark(node, 0, 0).decode('utf-8')
return [0, result, '']