summaryrefslogtreecommitdiff
path: root/test/test_transforms
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2016-05-24 19:55:10 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2016-05-24 19:55:10 +0000
commit7c0c8b40c8dba7f260da0e2f92da64f29031942c (patch)
treea17aa14fb732ce5cd967a92e88d9ea516d324913 /test/test_transforms
parentbf5210c41938c5fa70f0c423e6e7d8c8bb5c4d95 (diff)
downloaddocutils-7c0c8b40c8dba7f260da0e2f92da64f29031942c.tar.gz
Test update.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7940 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/test_transforms')
-rw-r--r--test/test_transforms/test_smartquotes.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test_transforms/test_smartquotes.py b/test/test_transforms/test_smartquotes.py
index 26388e929..125bc6350 100644
--- a/test/test_transforms/test_smartquotes.py
+++ b/test/test_transforms/test_smartquotes.py
@@ -52,6 +52,17 @@ u"""\
“‘nested’ smart” quotes
– and —also long— dashes.
"""],
+[r"""Escaped \\"smart quotes\\", \\'single smart quotes\\',
+\\"\\'nested\\' smart\\" quotes
+\\-- and -\\--also long-\\-- dashes.
+""",
+u"""\
+<document source="test data">
+ <paragraph>
+ Escaped "smart quotes", 'single smart quotes',
+ "'nested' smart" quotes
+ -- and ---also long--- dashes.
+"""],
["""\
Do not "educate" quotes ``inside "literal" text`` and ::