2013-10-23 03:36:45 -05:00
|
|
|
|
2020-11-11 05:00:27 -06:00
|
|
|
import missing_module # NOQA
|
|
|
|
import missing_package1.missing_module1 # NOQA
|
|
|
|
from missing_module import missing_name # NOQA
|
|
|
|
from missing_package2 import missing_module2 # NOQA
|
|
|
|
from missing_package3.missing_module3 import missing_name # NOQA
|
|
|
|
|
|
|
|
import sphinx.missing_module4 # NOQA
|
|
|
|
from sphinx.missing_module4 import missing_name2 # NOQA
|
2018-02-19 07:39:14 -06:00
|
|
|
|
2013-10-23 03:36:45 -05:00
|
|
|
|
2021-01-23 11:08:19 -06:00
|
|
|
@missing_name(int)
|
2016-10-21 09:53:25 -05:00
|
|
|
def decoratedFunction():
|
2018-02-19 07:39:14 -06:00
|
|
|
"""decoratedFunction docstring"""
|
|
|
|
return None
|
|
|
|
|
2016-10-21 09:53:25 -05:00
|
|
|
|
2019-02-10 10:46:38 -06:00
|
|
|
def func(arg: missing_module.Class):
|
|
|
|
"""a function takes mocked object as an argument"""
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2013-10-23 03:36:45 -05:00
|
|
|
class TestAutodoc(object):
|
|
|
|
"""TestAutodoc docstring."""
|
2021-11-25 10:35:40 -06:00
|
|
|
|
|
|
|
#: docstring
|
|
|
|
Alias = missing_module2.Class
|
|
|
|
|
2016-10-21 09:53:25 -05:00
|
|
|
@missing_name
|
|
|
|
def decoratedMethod(self):
|
|
|
|
"""TestAutodoc::decoratedMethod docstring"""
|
|
|
|
return None
|
2018-01-11 13:53:35 -06:00
|
|
|
|
2018-02-19 07:39:14 -06:00
|
|
|
|
2020-12-28 06:46:57 -06:00
|
|
|
class Inherited(missing_module.Class):
|
|
|
|
"""docstring"""
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2018-01-11 13:53:35 -06:00
|
|
|
sphinx.missing_module4.missing_function(len(missing_name2))
|
2021-11-25 10:35:40 -06:00
|
|
|
|
|
|
|
#: docstring
|
|
|
|
Alias = missing_module2.Class
|