sphinx/tests
Takeshi KOMIYA caa1d1f3c2 Fix #8534: autoattribute failed to document a commented attribute in alias class
So far, autoattribute uses "given class name" to fetch comments of
uninitialized instance attributes.  But pycode expects to use "real"
class name on searching attribute comments.

This adds UninitializedInstanceAttributeMixin to handle it simply.
2020-12-16 02:43:31 +09:00
..
certs linkcheck: Specify subjectAltName in test self-signed certificate 2020-11-15 18:25:39 +01:00
js #5258 allow for some variability in test 2019-01-12 15:58:07 +01:00
roots Fix #8534: autoattribute failed to document a commented attribute in alias class 2020-12-16 02:43:31 +09:00
__init__.py Make tests/ a Python package 2020-11-20 19:43:02 +01:00
conftest.py Sort imports with isort 2020-11-11 13:19:05 +01:00
ext_napoleon_pep526_data_google.py refactored code and tests, prepared for numpy feature 2020-11-25 08:45:25 +01:00
ext_napoleon_pep526_data_numpy.py implemented feature in numpy style, factored common code 2020-11-25 08:45:25 +01:00
test_api_translator.py A happy new year! 2020-01-01 14:27:43 +09:00
test_application.py Merge branch '2.0' 2020-01-01 14:40:39 +09:00
test_build_changes.py refactor with pyupgrade 2020-11-25 01:55:30 +09:00
test_build_dirhtml.py test: Fix ResourceWarning 2020-02-16 20:44:38 +09:00
test_build_epub.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_build_gettext.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_build_html.py Fix #8360: Update warning message for numref 2020-11-23 01:36:35 +09:00
test_build_latex.py Make tests/ a Python package 2020-11-20 19:43:02 +01:00
test_build_linkcheck.py Replace modify_env() with pytest monkeypatch.setenv() 2020-11-27 14:10:36 -08:00
test_build_manpage.py Close #7996: manpage: Add man_make_section_directory 2020-10-03 22:30:20 +09:00
test_build_texinfo.py Make tests/ a Python package 2020-11-20 19:43:02 +01:00
test_build_text.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_build.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_builder.py A happy new year! 2020-01-01 14:27:43 +09:00
test_catalogs.py A happy new year! 2020-01-01 14:27:43 +09:00
test_config.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_correct_year.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_directive_code.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_directive_only.py A happy new year! 2020-01-01 14:27:43 +09:00
test_directive_other.py Fix #6581: :reversed: for toctree does not effect to LaTeX build 2020-02-06 00:46:40 +09:00
test_directive_patch.py A happy new year! 2020-01-01 14:27:43 +09:00
test_docutilsconf.py A happy new year! 2020-01-01 14:27:43 +09:00
test_domain_c.py test: Fix duplicated testcases 2020-11-16 00:07:36 +09:00
test_domain_cpp.py test: Fix duplicated testcases 2020-11-16 00:07:36 +09:00
test_domain_js.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_domain_py.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_domain_rst.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_domain_std.py Fix #8352: std domain: Failed to parse an option that starts with bracket 2020-11-29 02:22:40 +09:00
test_environment_indexentries.py test: Fix flake8 violations 2020-11-15 17:46:37 +09:00
test_environment_toctree.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_environment.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_errors.py Fix AttributeError in ExtensionError 2018-09-09 11:50:56 -07:00
test_events.py Add allowed_exceptions parameter to Sphinx.emit() (refs: #7683) 2020-05-17 19:18:10 +09:00
test_ext_apidoc.py Cleaner fix for double trailing whitespace apidoc 2020-07-11 12:32:37 +02:00
test_ext_autodoc_autoattribute.py Fix #8534: autoattribute failed to document a commented attribute in alias class 2020-12-16 02:43:31 +09:00
test_ext_autodoc_autoclass.py Make tests/ a Python package 2020-11-20 19:43:02 +01:00
test_ext_autodoc_autodata.py Fix #8503: autoattribute could not create document for a GenericAlias 2020-11-29 12:24:10 +09:00
test_ext_autodoc_autofunction.py Make tests/ a Python package 2020-11-20 19:43:02 +01:00
test_ext_autodoc_configs.py Merge pull request #8459 from tk0miya/8452_autodoc_type_aliases_with_autodoc_typehints 2020-11-22 01:34:31 +09:00
test_ext_autodoc_events.py Make tests/ a Python package 2020-11-20 19:43:02 +01:00
test_ext_autodoc_mock.py Fix #7886: autodoc: TypeError is raised on mocking generic-typed classes 2020-06-30 01:16:38 +09:00
test_ext_autodoc_private_members.py Make tests/ a Python package 2020-11-20 19:43:02 +01:00
test_ext_autodoc.py Fix #8534: autoattribute failed to document a commented attribute in alias class 2020-12-16 02:43:31 +09:00
test_ext_autosectionlabel.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_ext_autosummary.py Fix #8501: autosummary: summary extraction splits text after "el at." 2020-11-28 11:41:06 +09:00
test_ext_coverage.py added test for show_missing_items True in quiet mode 2020-06-05 09:26:53 +02:00
test_ext_doctest.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_ext_duration.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_ext_githubpages.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_ext_graphviz.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_ext_ifconfig.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_ext_imgconverter.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_ext_inheritance_diagram.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_ext_intersphinx.py refactor with pyupgrade 2020-11-25 01:55:30 +09:00
test_ext_math.py Update test_ext_math.py 2020-05-28 23:15:39 -04:00
test_ext_napoleon_docstring.py rebased on upstream/3.x; fixed CI 2020-11-25 08:49:57 +01:00
test_ext_napoleon_iterators.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_ext_napoleon.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_ext_todo.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_ext_viewcode.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_highlighting.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_intl.py test: Merge testcases having the same name 2020-11-16 00:03:20 +09:00
test_locale.py A happy new year! 2020-01-01 14:27:43 +09:00
test_markup.py refactor: Fix flake8 violations under tests/ directory 2020-11-15 17:15:40 +09:00
test_metadata.py A happy new year! 2020-01-01 14:27:43 +09:00
test_parser.py Fix #7894: gettext: Wrong source info is shown when using rst_epilog 2020-07-08 02:32:46 +09:00
test_project.py refactor: Fix flake8 violations under tests/ directory 2020-11-15 17:15:40 +09:00
test_pycode_ast.py pycode: ast.unparse() construct number literals using source code 2020-10-05 01:08:14 +09:00
test_pycode_parser.py pycode: Detect @overload decorators 2020-05-31 23:22:20 +09:00
test_pycode.py refactor: Fix flake8 violations under tests/ directory 2020-11-15 17:15:40 +09:00
test_quickstart.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_roles.py A happy new year! 2020-01-01 14:27:43 +09:00
test_search.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_setup_command.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_smartquotes.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_templating.py Close #4030: autosummary: Add autosummary_context 2020-04-25 11:15:43 +09:00
test_theming.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_toctree.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_transforms_post_transforms_code.py Close #6698: doctest: Add :no-trim-doctest-flags: options 2020-08-05 23:39:05 +09:00
test_util_docstrings.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_util_docutils.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_util_fileutil.py test: Use read_text() and read_bytes() 2020-02-01 11:58:51 +09:00
test_util_i18n.py Close #7768: i18n: figure_language_filename supports {docpath} token 2020-08-02 16:28:54 +09:00
test_util_images.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_util_inspect.py Make tests/ a Python package 2020-11-20 19:43:02 +01:00
test_util_inventory.py refactor with pyupgrade 2020-11-25 01:55:30 +09:00
test_util_jsdump.py Remove unnecessary encoding cookie from Python source files 2018-12-16 12:22:12 -08:00
test_util_logging.py Fix #7423: crashed when giving a non-string object to logger 2020-04-09 00:17:37 +09:00
test_util_matching.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_util_nodes.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_util_pycompat.py A happy new year! 2020-01-01 14:27:43 +09:00
test_util_rst.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_util_template.py A happy new year! 2020-01-01 14:27:43 +09:00
test_util_typing.py Add NewType support to typing.stringify() and restify() 2020-11-21 23:04:42 +09:00
test_util.py refactor: Fix flake8 violations under tests/ directory 2020-11-15 17:15:40 +09:00
test_versioning.py Sort imports with isort 2020-11-11 13:19:05 +01:00
test_writer_latex.py A happy new year! 2020-01-01 14:27:43 +09:00
typing_test_data.py refactor: Fix flake8 violations under tests/ directory 2020-11-15 17:15:40 +09:00
utils.py Replace modify_env() with pytest monkeypatch.setenv() 2020-11-27 14:10:36 -08:00