summaryrefslogtreecommitdiff
path: root/docutils/test
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2019-09-06 13:16:34 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2019-09-06 13:16:34 +0000
commit17d59666c3a1125e476da31f490b661b4995e736 (patch)
tree71973e3a502b924f4dc56918489816cac45efd60 /docutils/test
parent96455289280fa75f2efc880fb459b105c466df26 (diff)
downloaddocutils-17d59666c3a1125e476da31f490b661b4995e736.tar.gz
Do not rely on `nodes.Node.traverse()` returning a "list" instance.
While the current implementation actually returns a list of nodes, the docstring specifies only: "Return an iterable ...". git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8387 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test')
-rwxr-xr-xdocutils/test/test_transforms/test_strip_comments.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/docutils/test/test_transforms/test_strip_comments.py b/docutils/test/test_transforms/test_strip_comments.py
index 436fbe94f..12226dee0 100755
--- a/docutils/test/test_transforms/test_strip_comments.py
+++ b/docutils/test/test_transforms/test_strip_comments.py
@@ -31,6 +31,8 @@ Title
=====
Paragraph.
+
+.. second comment
""",
"""\
<document source="test data">