Skip to content

Commit 5e99521

Browse files
Merge pull request #1062 from adamtheturtle/fix-test-docstrings
Update some test docstrings to be more reflective of the test goal
2 parents 3981bdd + cc28c7f commit 5e99521

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_substitution_extensions.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ def test_myst_substitutions_ignored_without_rst_definition(
297297
make_app: Callable[..., SphinxTestApp],
298298
) -> None:
299299
"""
300-
MyST substitutions are ignored in rST documents with a rST substitution
301-
definition.
300+
MyST substitutions are ignored in rST documents without a rST
301+
substitution definition.
302302
"""
303303
source_directory = tmp_path / "source"
304304
source_directory.mkdir()
@@ -397,7 +397,8 @@ def test_myst_substitutions_not_enabled(
397397
make_app: Callable[..., SphinxTestApp],
398398
) -> None:
399399
"""
400-
MyST substitutions are respected in MyST documents.
400+
MyST substitutions are not respected in MyST documents when
401+
``myst_enable_extensions`` does not contain ``substitutions``.
401402
"""
402403
source_directory = tmp_path / "source"
403404
source_directory.mkdir()

0 commit comments

Comments
 (0)