diff options
| author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-09-11 21:53:49 +0000 |
|---|---|---|
| committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-09-11 21:53:49 +0000 |
| commit | 469baf29f163924dca499b0591ca6f2addba6b35 (patch) | |
| tree | bc2bd0f906bb9f92ad69b6a74652424cf2f9ee38 /test/test_transforms | |
| parent | c0c6ea6df4b5fa31abd0d36c73a258b274eccc81 (diff) | |
| download | docutils-469baf29f163924dca499b0591ca6f2addba6b35.tar.gz | |
replaced node.parent.replace(node, new) constructs with node.substitute(new)
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3870 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/test_transforms')
| -rwxr-xr-x | test/test_transforms/test_footnotes.py | 4 | ||||
| -rwxr-xr-x | test/test_transforms/test_hyperlinks.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/test_transforms/test_footnotes.py b/test/test_transforms/test_footnotes.py index f0a1a2ed0..86cbd2110 100755 --- a/test/test_transforms/test_footnotes.py +++ b/test/test_transforms/test_footnotes.py @@ -182,7 +182,7 @@ Mixed anonymous and labelled auto-numbered footnotes: <footnote_reference auto="1" ids="id3" refid="id8"> 3 should be 3, \n\ - <problematic ids="id11" refid="id10"> + <problematic ids="id11 id4" refid="id10"> [#]_ is one too many, <footnote_reference auto="1" ids="id5" refid="two"> @@ -327,7 +327,7 @@ and labelled auto-numbered footnotes: <footnote_reference auto="1" ids="id5" refid="id12"> 6 should be 6, \n\ - <problematic ids="id15" refid="id14"> + <problematic ids="id15 id6" refid="id14"> [#]_ is one too many, <footnote_reference auto="1" ids="id7" refname="five"> diff --git a/test/test_transforms/test_hyperlinks.py b/test/test_transforms/test_hyperlinks.py index 8d7d6a029..d060043cd 100755 --- a/test/test_transforms/test_hyperlinks.py +++ b/test/test_transforms/test_hyperlinks.py @@ -145,7 +145,7 @@ circular_ indirect reference circular_ indirect reference <target ids="circular" names="circular" refid="circular"> - <problematic ids="id3" refid="id1"> + <problematic ids="id3 indirect" names="indirect" refid="id1"> .. _indirect: circular_ <system_message backrefs="id2 id3" ids="id1" level="3" line="3" source="test data" type="ERROR"> <paragraph> @@ -787,7 +787,7 @@ Duplicate manual footnote labels, with reference ([1]_): <document source="test data"> <paragraph> Duplicate manual footnote labels, with reference ( - <problematic ids="id5" refid="id4"> + <problematic ids="id5 id1" refid="id4"> [1]_ ): <footnote dupnames="1" ids="id2"> |
