diff options
| author | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-08-11 20:09:26 +0000 |
|---|---|---|
| committer | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-08-11 20:09:26 +0000 |
| commit | e73cb1734fcdb941dfca5b05344e08cd043bd5b5 (patch) | |
| tree | 55ee274cc8f7789c2d8a6624b20ff7b7ad848ed8 /test/test_publisher.py | |
| parent | 5fcff6c10ff13d75e4e7c9babbe5ddd93fdccdb7 (diff) | |
| download | docutils-e73cb1734fcdb941dfca5b05344e08cd043bd5b5.tar.gz | |
Fix py38 SyntaxWarning: invalid escape sequence \
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8311 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/test_publisher.py')
| -rwxr-xr-x | test/test_publisher.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_publisher.py b/test/test_publisher.py index e0d904c6a..43be372f6 100755 --- a/test/test_publisher.py +++ b/test/test_publisher.py @@ -22,7 +22,7 @@ Test Document This is a test document with a broken reference: nonexistent_ """ pseudoxml_output = b"""\ -<document ids="test-document" names="test\ document" source="<string>" title="Test Document"> +<document ids="test-document" names="test\\ document" source="<string>" title="Test Document"> <title> Test Document <paragraph> @@ -39,7 +39,7 @@ pseudoxml_output = b"""\ exposed_pseudoxml_output = (b"""\ <document ids="test-document" internal:refnames="{""" + u_prefix -+ b"""\'nonexistent\': [<reference: <#text: \'nonexistent\'>>]}" names="test\ document" source="<string>" title="Test Document"> ++ b"""\'nonexistent\': [<reference: <#text: \'nonexistent\'>>]}" names="test\\ document" source="<string>" title="Test Document"> <title> Test Document <paragraph> |
