diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-11-18 14:08:13 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-11-18 14:08:13 +0000 |
| commit | acccf6e59a2e27eae09079edb4f0b093ab3fcf2e (patch) | |
| tree | 86a6865585c21bac3e3ed6db375f2a7b2935c4b0 | |
| parent | 8a201b1098d55ad97504759d69f2af5a381d102c (diff) | |
| download | docutils-acccf6e59a2e27eae09079edb4f0b093ab3fcf2e.tar.gz | |
Use boolean values for boolean settings.
This fixes a leftover from the times Python did not have a `bool` datatype.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9257 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
| -rw-r--r-- | docutils/test/test_writers/test_html5_polyglot_parts.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docutils/test/test_writers/test_html5_polyglot_parts.py b/docutils/test/test_writers/test_html5_polyglot_parts.py index c5925e14c..9a09c30d9 100644 --- a/docutils/test/test_writers/test_html5_polyglot_parts.py +++ b/docutils/test/test_writers/test_html5_polyglot_parts.py @@ -81,7 +81,7 @@ class Html5WriterPublishPartsTestCase(unittest.TestCase): totest = {} totest['standard'] = ({'stylesheet_path': '', - 'embed_stylesheet': 0}, [ + 'embed_stylesheet': False}, [ ["""\ Simple String """, @@ -242,9 +242,9 @@ Some stuff }] ]) -totest['no_title_promotion'] = ({'doctitle_xform': 0, +totest['no_title_promotion'] = ({'doctitle_xform': False, 'stylesheet_path': '', - 'embed_stylesheet': 0}, [ + 'embed_stylesheet': False}, [ ["""\ Simple String """, @@ -645,7 +645,7 @@ No caption nor legend. totest['lazy_loading'] = ({'image_loading': 'lazy', 'stylesheet_path': '', - 'embed_stylesheet': 0}, [ + 'embed_stylesheet': False}, [ ["""\ .. image:: dummy.png @@ -678,7 +678,7 @@ totest['lazy_loading'] = ({'image_loading': 'lazy', totest['no_backlinks'] = ({'footnote_backlinks': False, 'stylesheet_path': '', - 'embed_stylesheet': 0}, [ + 'embed_stylesheet': False}, [ ["""\ Two footnotes [#f1]_ [#f2]_ and two citations [once]_ [twice]_. |
