sphinx/tests
Takeshi KOMIYA 5aa6cbbca8 Add unqualified_typehints parameter to stringify_signature()
To make the generated function signatures simple, this adds a new
parameter `unqualified_typehints` to sphinx.util.inspect:
stringify_signature() to suppress the leading module name of
typehints.
2021-12-03 18:05:49 +09:00
..
certs linkcheck: Specify subjectAltName in test self-signed certificate 2020-11-15 18:25:39 +01:00
js Closes #8123: Fix plus-handling (+) in search terms for basic html theme search 2020-08-19 18:01:27 +02:00
roots Merge pull request #9905 from tk0miya/9883_ismock 2021-11-30 01:37:41 +09:00
__init__.py Make tests/ a Python package 2020-11-20 19:43:02 +01:00
conftest.py A happy new year! 2021-01-01 13:40:48 +09:00
ext_napoleon_pep526_data_google.py Fix typo 2021-07-08 08:16:22 +09:00
ext_napoleon_pep526_data_numpy.py Fix typo 2021-07-08 08:16:22 +09:00
test_api_translator.py A happy new year! 2021-01-01 13:40:48 +09:00
test_application.py A happy new year! 2021-01-01 13:40:48 +09:00
test_build_changes.py A happy new year! 2021-01-01 13:40:48 +09:00
test_build_dirhtml.py A happy new year! 2021-01-01 13:40:48 +09:00
test_build_epub.py Fix typos discovered by codespell 2021-09-08 02:15:25 +02:00
test_build_gettext.py A happy new year! 2021-01-01 13:40:48 +09:00
test_build_html.py Update RFC base url 2021-11-16 10:52:02 -05:00
test_build_latex.py Update tests to match code changes. 2021-07-04 20:15:56 +01:00
test_build_linkcheck.py don't print file extension twice in linkcheck warnings 2021-09-27 22:12:57 +02:00
test_build_manpage.py Add a testcase for #9694 2021-09-11 18:47:24 +09:00
test_build_texinfo.py A happy new year! 2021-01-01 13:40:48 +09:00
test_build_text.py A happy new year! 2021-01-01 13:40:48 +09:00
test_build.py Merge branch '3.x' 2021-03-20 23:25:57 +09:00
test_builder.py A happy new year! 2021-01-01 13:40:48 +09:00
test_catalogs.py A happy new year! 2021-01-01 13:40:48 +09:00
test_config.py refactor: Do config file existence check in Config.read() 2021-05-16 23:48:42 +09:00
test_correct_year.py A happy new year! 2021-01-01 13:40:48 +09:00
test_directive_code.py Adapt our tests to Pygments 2.8.0 2021-02-14 21:17:17 +01:00
test_directive_only.py A happy new year! 2021-01-01 13:40:48 +09:00
test_directive_other.py A happy new year! 2021-01-01 13:40:48 +09:00
test_directive_patch.py Close #8487: csv-table now considers abspath as relpath from srcdir 2021-03-09 01:07:19 +09:00
test_docutilsconf.py A happy new year! 2021-01-01 13:40:48 +09:00
test_domain_c.py C, C++, parse <width> <complex/imaginary> 2021-08-20 17:15:34 +02:00
test_domain_cpp.py C++, fix parsing of defaulted fp function params 2021-08-20 18:17:42 +02:00
test_domain_js.py js/py nodes, update arglist rendering 2021-10-03 10:17:31 +02:00
test_domain_py.py py domain: Allow "~" prefix as a prefix of typehints in signature 2021-11-30 01:54:23 +09:00
test_domain_rst.py A happy new year! 2021-01-01 13:40:48 +09:00
test_domain_std.py Add doc and testcase for program directive (refs: #9137) 2021-04-28 02:16:57 +09:00
test_environment_indexentries.py Merge branch '3.4.x' into 3.x 2021-01-01 13:56:19 +09:00
test_environment_toctree.py Fix #8870: Use title node for the caption of toctree 2021-04-09 01:02:29 +09:00
test_environment.py Close #8326: Rename master_doc to root_doc 2021-02-28 17:10:57 +09:00
test_errors.py Fix AttributeError in ExtensionError 2018-09-09 11:50:56 -07:00
test_events.py Fix typos discovered by codespell 2021-09-08 02:15:25 +02:00
test_ext_apidoc.py Fix #9608: apidoc: module is not described if implicit namespace package 2021-09-04 22:44:04 +09:00
test_ext_autodoc_autoattribute.py Fix #9752: autodoc: Failed to detect type annotation for slots attribute 2021-10-23 14:59:36 +09:00
test_ext_autodoc_autoclass.py Fix #9866: autodoc: doccoment for the imported class was ignored 2021-11-21 18:50:54 +09:00
test_ext_autodoc_autodata.py Fix #9630: autodoc: Failed to build xrefs if primary_domain is not 'py' 2021-09-14 23:59:47 +09:00
test_ext_autodoc_autofunction.py Close #9639: autodoc: Support asynchronous generator functions 2021-09-17 02:20:40 +09:00
test_ext_autodoc_automodule.py Fix #9175: autodoc: Special member is not documented in the module 2021-05-08 17:33:33 +09:00
test_ext_autodoc_autoproperty.py Fix #9487: autodoc: typehint for cached_property is not shown 2021-07-22 23:25:03 +09:00
test_ext_autodoc_configs.py Fix #9883: autodoc: doccomment for the alias to mocked object was ignored 2021-11-29 02:06:16 +09:00
test_ext_autodoc_events.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_autodoc_mock.py Fix #9883: autodoc: doccomment for the alias to mocked object was ignored 2021-11-29 02:06:16 +09:00
test_ext_autodoc_preserve_defaults.py Fix #9781: autodoc_preserve_defaults does not support hexadecimal 2021-10-31 01:11:56 +09:00
test_ext_autodoc_private_members.py Merge branch '3.4.x' into 3.x 2021-01-01 13:56:19 +09:00
test_ext_autodoc.py Fix #9866: autodoc: doccoment for the imported class was ignored 2021-11-21 18:50:54 +09:00
test_ext_autosectionlabel.py Merge branch '3.x' 2021-01-01 13:57:19 +09:00
test_ext_autosummary.py Fix lints and reorder args of members_of 2021-11-22 13:57:56 +11:00
test_ext_coverage.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_doctest.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_duration.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_extlinks.py extlinks: replacement suggestions for hardcoded links 2021-11-12 09:38:59 +01:00
test_ext_githubpages.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_graphviz.py test: Update testcase for docutils-0.17 (<figure> and <figcaption>) 2021-04-03 23:54:19 +09:00
test_ext_ifconfig.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_imgconverter.py Fix #9103: LaTeX: imgconverter: conversion runs even if not needed 2021-04-17 16:51:19 +09:00
test_ext_inheritance_diagram.py test: Update testcase for docutils-0.17 (<figure> and <figcaption>) 2021-04-03 23:54:19 +09:00
test_ext_intersphinx.py rename intersphinx_disabled_{refs -> reftypes} 2021-10-31 13:56:26 +01:00
test_ext_math.py Fix #9864: mathjax: Failed to render equations via MathJax v2 2021-11-21 18:27:35 +09:00
test_ext_napoleon_docstring.py Merge branch '3.x' 2021-01-24 14:32:13 +09:00
test_ext_napoleon_iterators.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_napoleon.py A happy new year! 2021-01-01 13:40:48 +09:00
test_ext_todo.py Merge branch '3.x' 2021-01-01 13:57:19 +09:00
test_ext_viewcode.py Fix #8704: viewcode: anchors are generated in incremental build 2021-01-22 21:41:42 +09:00
test_extension.py Fix #9708: needs_extension failed to check double-digit version correctly 2021-10-09 14:59:05 +09:00
test_highlighting.py A happy new year! 2021-01-01 13:40:48 +09:00
test_intl.py Close #9618: i18n: Add gettext_allow_fuzzy_translations 2021-11-10 01:32:02 +09:00
test_locale.py A happy new year! 2021-01-01 13:40:48 +09:00
test_markup.py Update RFC base url 2021-11-16 10:52:02 -05:00
test_metadata.py doc: Upgrade docutils.sourceforge.io links to HTTPS 2021-05-16 15:53:49 +03:00
test_parser.py A happy new year! 2021-01-01 13:40:48 +09:00
test_project.py A happy new year! 2021-01-01 13:40:48 +09:00
test_pycode_ast.py Fix #9364: autodoc: 1-element tuple on the defarg is wrongly rendered 2021-06-21 02:43:55 +09:00
test_pycode_parser.py overridden 2021-09-08 02:33:10 +02:00
test_pycode.py A happy new year! 2021-01-01 13:40:48 +09:00
test_quickstart.py Fix a flake8 violation 2021-07-07 02:06:30 +09:00
test_roles.py A happy new year! 2021-01-01 13:40:48 +09:00
test_search.py search, store objects as array to retain all 2021-09-25 10:59:49 +02:00
test_setup_command.py Close #8326: Rename master_doc to root_doc 2021-02-28 17:10:57 +09:00
test_smartquotes.py Check complete ancestry of text nodes for smartquotes eligibility. 2021-08-21 00:20:04 -05:00
test_templating.py A happy new year! 2021-01-01 13:40:48 +09:00
test_theming.py Fix #9222: Update Underscore.js to 1.13.1 2021-05-13 02:11:17 +09:00
test_toctree.py A happy new year! 2021-01-01 13:40:48 +09:00
test_transforms_post_transforms_code.py A happy new year! 2021-01-01 13:40:48 +09:00
test_transforms_post_transforms.py Fix #9240: Unknown node error for pending_xref_condition is raised 2021-05-18 01:55:36 +09:00
test_util_docstrings.py Fix typos discovered by codespell 2021-09-08 02:15:25 +02:00
test_util_docutils.py Fix typos discovered by codespell 2021-09-08 02:15:25 +02:00
test_util_fileutil.py Fix typo 2021-07-08 08:16:22 +09:00
test_util_i18n.py Fix #8683: html_last_updated_fmt generates wrong time zone for %Z 2021-01-13 00:50:01 +09:00
test_util_images.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_inspect.py Add unqualified_typehints parameter to stringify_signature() 2021-12-03 18:05:49 +09:00
test_util_inventory.py A happy new year! 2021-01-01 13:40:48 +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 issue with warnings without subtype being incorrectly suppressed 2021-09-20 12:16:14 +01:00
test_util_matching.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_nodes.py refactor: Node.traverse() will returns generator since 0.18 2021-10-10 15:50:39 +09:00
test_util_rst.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_template.py A happy new year! 2021-01-01 13:40:48 +09:00
test_util_typing.py Add smartref parameter to sphinx.util.typing:stringify() 2021-12-03 18:05:49 +09:00
test_util.py A happy new year! 2021-01-01 13:40:48 +09:00
test_versioning.py test: Try to import nodes.meta first (for the latest docutils) 2021-11-28 13:01:50 +09:00
test_writer_latex.py doc: Upgrade docutils.sourceforge.io links to HTTPS 2021-05-16 15:53:49 +03: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