summaryrefslogtreecommitdiff
path: root/tests/test_environment_indexentries.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-25 01:43:23 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-29 23:55:56 +0900
commit7aa5584a47d269aa656a4d8a296aa56e2c69dc6c (patch)
tree8a67d3c0d4afc882b85331f75ba275b334209e85 /tests/test_environment_indexentries.py
parent70c61e44c34b4dadf1a7552be7c5feabd74b98bc (diff)
downloadsphinx-git-7aa5584a47d269aa656a4d8a296aa56e2c69dc6c.tar.gz
Fix #7301: capital characters are not allowed for node_id
Diffstat (limited to 'tests/test_environment_indexentries.py')
-rw-r--r--tests/test_environment_indexentries.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_environment_indexentries.py b/tests/test_environment_indexentries.py
index 97882d44b..7f6003d54 100644
--- a/tests/test_environment_indexentries.py
+++ b/tests/test_environment_indexentries.py
@@ -161,5 +161,5 @@ def test_create_index_by_key(app):
index = IndexEntries(app.env).create_index(app.builder)
assert len(index) == 3
assert index[0] == ('D', [('docutils', [[('main', '#term-docutils')], [], None])])
- assert index[1] == ('P', [('Python', [[('main', '#term-python')], [], None])])
+ assert index[1] == ('P', [('Python', [[('main', '#term-Python')], [], None])])
assert index[2] == ('ス', [('スフィンクス', [[('main', '#term-0')], [], 'ス'])])