mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #7865: autosummary: Failed to extract summary line when abbr. found
This commit is contained in:
@@ -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::']
|
||||
|
||||
Reference in New Issue
Block a user