Merge pull request #6941 from tk0miya/6936_autogen_raises_AttributeError

Fix #6936: sphinx-autogen: raises AttributeError
This commit is contained in:
Takeshi KOMIYA 2019-12-22 13:22:26 +09:00 committed by GitHub
commit 960ca85fea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,8 @@ Features added
Bugs fixed
----------
* #6936: sphinx-autogen: raises AttributeError
Testing
--------

View File

@ -59,6 +59,11 @@ class DummyApplication:
self.registry = SphinxComponentRegistry()
self.messagelog = [] # type: List[str]
self.verbosity = 0
self._warncount = 0
self.warningiserror = False
def emit_firstresult(self, *args) -> None:
pass
def setup_documenters(app: Any) -> None: