summaryrefslogtreecommitdiff
path: root/tests/test_util_nodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_util_nodes.py')
-rw-r--r--tests/test_util_nodes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_util_nodes.py b/tests/test_util_nodes.py
index 1833414b0..01c5d2e3f 100644
--- a/tests/test_util_nodes.py
+++ b/tests/test_util_nodes.py
@@ -189,9 +189,9 @@ def test_clean_astext():
('', '', 'id0'),
('term', '', 'term-0'),
('term', 'Sphinx', 'term-sphinx'),
- ('', 'io.StringIO', 'io-stringio'), # contains a dot
- ('', 'sphinx.setup_command', 'sphinx-setup-command'), # contains a dot
- ('', '_io.StringIO', 'io-stringio'), # starts with underscore
+ ('', 'io.StringIO', 'io.stringio'), # contains a dot
+ ('', 'sphinx.setup_command', 'sphinx.setup_command'), # contains a dot & underscore
+ ('', '_io.StringIO', 'io.stringio'), # starts with underscore
('', 'sphinx', 'sphinx'), # alphabets in unicode fullwidth characters
('', '悠好', 'id0'), # multibytes text (in Chinese)
('', 'Hello=悠好=こんにちは', 'hello'), # alphabets and multibytes text