diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-06-27 23:33:43 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-06-27 23:33:43 +0900 |
commit | 2d69b4211a702b27417bb28d0c2e1486b91b35f5 (patch) | |
tree | a0c07af206e21157826c32b7573eb15f99ca1a1a /tests/test_ext_autosummary.py | |
parent | 03e85df6175258bd6d6ec24aaeed8fc74a335651 (diff) | |
download | sphinx-git-2d69b4211a702b27417bb28d0c2e1486b91b35f5.tar.gz |
Fix #7865: autosummary: Failed to extract summary line when abbr. found
Diffstat (limited to 'tests/test_ext_autosummary.py')
-rw-r--r-- | tests/test_ext_autosummary.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext_autosummary.py b/tests/test_ext_autosummary.py index a65826141..73fab7cb9 100644 --- a/tests/test_ext_autosummary.py +++ b/tests/test_ext_autosummary.py @@ -97,7 +97,7 @@ def test_extract_summary(capsys): # abbreviations doc = ['Blabla, i.e. bla.'] - assert extract_summary(doc, document) == 'Blabla, i.e.' + assert extract_summary(doc, document) == ' '.join(doc) # literal doc = ['blah blah::'] |