diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-09-06 13:16:34 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-09-06 13:16:34 +0000 |
| commit | 17d59666c3a1125e476da31f490b661b4995e736 (patch) | |
| tree | 71973e3a502b924f4dc56918489816cac45efd60 /docutils/test | |
| parent | 96455289280fa75f2efc880fb459b105c466df26 (diff) | |
| download | docutils-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-x | docutils/test/test_transforms/test_strip_comments.py | 2 |
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"> |
