mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
test: Update testcase for docutils-0.17 (empty language)
Since v0.17, docutils starts to load language module on parsing reST document using StateMachine directly. So far, our testcase uses invalid language code for testing autosummary. This fixes it to work with new docutils.
This commit is contained in:
parent
c2ee74f166
commit
6e438af6c0
@ -74,7 +74,7 @@ def test_mangle_signature():
|
||||
|
||||
|
||||
def test_extract_summary(capsys):
|
||||
settings = Mock(language_code='',
|
||||
settings = Mock(language_code='en',
|
||||
id_prefix='',
|
||||
auto_id_prefix='',
|
||||
pep_reference=False,
|
||||
|
Loading…
Reference in New Issue
Block a user