Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2022-02-08 18:59:09 +0300
committerStephen Finucane <stephen@that.guru>2022-02-08 19:00:01 +0300
commit105c583f0605d336c9fc981e49e7a4ed4ef25f30 (patch)
tree43ff62bcd628c33470ee997a34f9a93a8a38ab84 /tests
parent73f980641c28660aaa2412fced5b747128e65931 (diff)
Revert "Close #9993: std domain: Allow to refer an inline target via ref role"
This reverts commit e3ee8b378a37958f48d97d74a5c264f1f02e153e. This is a breaking change that should not have been introduced in a minor release (or arguably at all, given the impact). Signed-off-by: Stephen Finucane <stephen@that.guru> Closes: #10177
Diffstat (limited to 'tests')
-rw-r--r--tests/test_domain_std.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/test_domain_std.py b/tests/test_domain_std.py
index 00e7361a3..d001a939d 100644
--- a/tests/test_domain_std.py
+++ b/tests/test_domain_std.py
@@ -453,12 +453,3 @@ def test_labeled_rubric(app):
domain = app.env.get_domain("std")
assert 'label' in domain.labels
assert domain.labels['label'] == ('index', 'label', 'blah blah blah')
-
-
-def test_inline_target(app):
- text = "blah _`inline target` blah\n"
- restructuredtext.parse(app, text)
-
- domain = app.env.get_domain("std")
- assert 'inline target' in domain.labels
- assert domain.labels['inline target'] == ('index', 'inline-target', 'inline target')