summaryrefslogtreecommitdiff
path: root/docutils/test/test_transforms
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-03-05 17:11:05 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-03-05 17:11:05 +0000
commitdabba59fc729397d4d7dbf4e30edfd9bc76899a9 (patch)
tree6f70ae9865a16015e17715f714f95fe81511df4b /docutils/test/test_transforms
parent733521666bd4ce32cacfcb0e01c8ab358278e623 (diff)
downloaddocutils-dabba59fc729397d4d7dbf4e30edfd9bc76899a9.tar.gz
reverted test_nodes.py from 1.14 to 1.13; the nested scopes are
necessary because of the lambda expression in line 146:: self.assertEquals(getlist(e, cond=lambda x: x not in e[0:2]), [e[0][0], e[0][1], e[0][1][0], e[2]]) otherwise it doesn't work with Python 2.1 because we can't reference the local e variable. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3010 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/test_transforms')
-rwxr-xr-xdocutils/test/test_transforms/test_contents.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/docutils/test/test_transforms/test_contents.py b/docutils/test/test_transforms/test_contents.py
index 6816ba2eb..3fbc04a9d 100755
--- a/docutils/test/test_transforms/test_contents.py
+++ b/docutils/test/test_transforms/test_contents.py
@@ -32,12 +32,12 @@ Title 1
=======
Paragraph 1.
-Title 2
--------
+Title_ 2
+--------
Paragraph 2.
-Title 3
-```````
+_`Title` 3
+``````````
Paragraph 3.
Title 4