diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-02-12 09:22:04 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-04-03 23:54:19 +0900 |
commit | 6e438af6c030b8ebe74330bec0a03de2d45dd752 (patch) | |
tree | eb627186c58e72d4dd1c2b3d763a564928fcb169 | |
parent | c2ee74f1663b53a20fa1fe7c8d0b99050da64755 (diff) | |
download | sphinx-git-6e438af6c030b8ebe74330bec0a03de2d45dd752.tar.gz |
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.
-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 da7c53ec9..5d92b6afd 100644 --- a/tests/test_ext_autosummary.py +++ b/tests/test_ext_autosummary.py @@ -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, |