summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2014-09-24 01:41:01 +0900
committershimizukawa <shimizukawa@gmail.com>2014-09-24 01:41:01 +0900
commitba52a493ab7712a8a3b13b75dc27af5f5c2d4ea3 (patch)
treeec7fdf14e411b307a173d258c486e4b6f88d9f0b
parent3fa9a8dfdb8076b99a31d525a2b19ce462cc53aa (diff)
downloadsphinx-ba52a493ab7712a8a3b13b75dc27af5f5c2d4ea3.tar.gz
workaround for testing: `\xbb` will be replaced with `/xbb` by `replace(os.sep, '/')` process on Windows environment.
-rw-r--r--tests/test_build_html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index 62dcccd2..52604468 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -34,7 +34,7 @@ reading included file u'.*?wrongenc.inc' seems to be wrong, try giving an \
(%(root)s/markup.txt:\\d+: WARNING: Malformed :option: u'Python c option', does \
not contain option marker - or -- or / or \\+
%(root)s/undecodable.txt:3: WARNING: undecodable source characters, replacing \
-with "\\?": b?'here: >>>\\\\xbb<<<'
+with "\\?": b?'here: >>>(\\\\|/)xbb<<<'
)?"""
HTML_WARNINGS = ENV_WARNINGS + """\