summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-12-14 02:02:29 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-12-14 02:02:29 +0900
commit2c98e909bf1a6de5f689aeca908e8ccc73f181ac (patch)
tree43752eff923aac12cd786424c1f5bb7725080143 /tests/test_build_html.py
parent0b074c9e48dbc00137c2e94769bbe6e4685199c6 (diff)
parent5b28d77b376cad5d93942743ea1d18098b459948 (diff)
downloadsphinx-git-2c98e909bf1a6de5f689aeca908e8ccc73f181ac.tar.gz
Merge branch '3.x'
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r--tests/test_build_html.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index f05abb0fd..211b650d8 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -648,7 +648,7 @@ def test_numfig_without_numbered_toctree_warn(app, warning):
warnings = warning.getvalue()
assert 'index.rst:47: WARNING: numfig is disabled. :numref: is ignored.' not in warnings
- assert 'index.rst:55: WARNING: no number is assigned for section: index' in warnings
+ assert 'index.rst:55: WARNING: Failed to create a cross reference. Any number is not assigned: index' in warnings
assert 'index.rst:56: WARNING: invalid numfig_format: invalid' in warnings
assert 'index.rst:57: WARNING: invalid numfig_format: Fig %s %s' in warnings
@@ -754,7 +754,7 @@ def test_numfig_with_numbered_toctree_warn(app, warning):
app.build()
warnings = warning.getvalue()
assert 'index.rst:47: WARNING: numfig is disabled. :numref: is ignored.' not in warnings
- assert 'index.rst:55: WARNING: no number is assigned for section: index' in warnings
+ assert 'index.rst:55: WARNING: Failed to create a cross reference. Any number is not assigned: index' in warnings
assert 'index.rst:56: WARNING: invalid numfig_format: invalid' in warnings
assert 'index.rst:57: WARNING: invalid numfig_format: Fig %s %s' in warnings
@@ -857,7 +857,7 @@ def test_numfig_with_prefix_warn(app, warning):
app.build()
warnings = warning.getvalue()
assert 'index.rst:47: WARNING: numfig is disabled. :numref: is ignored.' not in warnings
- assert 'index.rst:55: WARNING: no number is assigned for section: index' in warnings
+ assert 'index.rst:55: WARNING: Failed to create a cross reference. Any number is not assigned: index' in warnings
assert 'index.rst:56: WARNING: invalid numfig_format: invalid' in warnings
assert 'index.rst:57: WARNING: invalid numfig_format: Fig %s %s' in warnings
@@ -961,7 +961,7 @@ def test_numfig_with_secnum_depth_warn(app, warning):
app.build()
warnings = warning.getvalue()
assert 'index.rst:47: WARNING: numfig is disabled. :numref: is ignored.' not in warnings
- assert 'index.rst:55: WARNING: no number is assigned for section: index' in warnings
+ assert 'index.rst:55: WARNING: Failed to create a cross reference. Any number is not assigned: index' in warnings
assert 'index.rst:56: WARNING: invalid numfig_format: invalid' in warnings
assert 'index.rst:57: WARNING: invalid numfig_format: Fig %s %s' in warnings