summaryrefslogtreecommitdiff
path: root/docutils/test/test_transforms
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-09-11 21:53:49 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-09-11 21:53:49 +0000
commit267441bc32fecc24704a184b6a604e2049d1a686 (patch)
tree76161260436e601c7c88dcfa744aadbfb5d27c60 /docutils/test/test_transforms
parent52301a85267f403f35ff71b82d3475f5e1a21d97 (diff)
downloaddocutils-267441bc32fecc24704a184b6a604e2049d1a686.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@3870 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/test_transforms')
-rwxr-xr-xdocutils/test/test_transforms/test_footnotes.py4
-rwxr-xr-xdocutils/test/test_transforms/test_hyperlinks.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/docutils/test/test_transforms/test_footnotes.py b/docutils/test/test_transforms/test_footnotes.py
index f0a1a2ed0..86cbd2110 100755
--- a/docutils/test/test_transforms/test_footnotes.py
+++ b/docutils/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/docutils/test/test_transforms/test_hyperlinks.py b/docutils/test/test_transforms/test_hyperlinks.py
index 8d7d6a029..d060043cd 100755
--- a/docutils/test/test_transforms/test_hyperlinks.py
+++ b/docutils/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">