summaryrefslogtreecommitdiff
path: root/docutils/test/functional/tests/math_output_html.py
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2012-06-04 20:14:08 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2012-06-04 20:14:08 +0000
commit09db73f8034ec4b41ba13d94e78d39ee6a6afef5 (patch)
tree2a3610dd2f9cc71c54d29c3b8fc3a32cab5592aa /docutils/test/functional/tests/math_output_html.py
parent607b580b989fe944688db4de8a65ea98378eeab2 (diff)
downloaddocutils-09db73f8034ec4b41ba13d94e78d39ee6a6afef5.tar.gz
Fix [ 3527842 ].
Under Python 3, converted tests and tools are now stored in the ``test3/`` and ``tools3/`` sub-directories and not installed in the PYTHONPATH. In order to make this work: - Make tests independent from the location of the ``test/`` directory. - Use converted sources from the ``build/`` directory for tests under Python 3. Remove functional/tests/stylesheet_path_html4css1.py made redunant by functional/tests/math_output_html.py. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7437 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/tests/math_output_html.py')
-rw-r--r--docutils/test/functional/tests/math_output_html.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/docutils/test/functional/tests/math_output_html.py b/docutils/test/functional/tests/math_output_html.py
index aa3b0940d..cee7caab2 100644
--- a/docutils/test/functional/tests/math_output_html.py
+++ b/docutils/test/functional/tests/math_output_html.py
@@ -7,10 +7,11 @@ reader_name = "standalone"
parser_name = "rst"
writer_name = "html"
-# Extra setting
-
+# Extra settings
settings_overrides['math_output'] = 'HTML'
-settings_overrides['stylesheet_path'] = (
- '../docutils/writers/html4css1/html4css1.css, '
- '../docutils/writers/html4css1/math.css ')
+# stylesheets:
+settings_overrides['stylesheet_path'] = (
+ 'functional/input/data/html4css1.css,'
+ 'functional/input/data/math.css')
+