summaryrefslogtreecommitdiff
path: root/test/cmark.py
diff options
context:
space:
mode:
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, '']