module documentation

Undocumented

Class CopyLocationTests Undocumented
Class FixMissingLocationTests Undocumented
Class InferTypeAnnotationTests Undocumented
Class LiteralEvalTests Undocumented
Class NodeVisitorTests Undocumented
Class TestAstroidUtilsAndExpandName Undocumented
Class UnstringAnnotationTests Undocumented
Function generate_args Undocumented
Function generate_module_names Undocumented
Function imported_basename_cases Undocumented
Function imported_call_cases Undocumented
Function test_node2fullname_nodes Undocumented
def generate_args(): (source)

Undocumented

Returns
Iterator[str]Undocumented
def generate_module_names(): (source)

Undocumented

Returns
Iterator[str]Undocumented
def imported_basename_cases(): (source)

Undocumented

Returns
Iterator[Tuple[str, str, str]]Undocumented
def imported_call_cases(): (source)

Undocumented

Returns
Iterator[Tuple[str, str, str]]Undocumented
@mod_from_text_param
@pytest.mark.parametrize(('source', 'expected'), [('var: typing.Generic[T]', 'typing.Generic -> typing.Generic'), ('var: typing.Generic[T, _KV]', 'typing.Generic -> typing.Generic'), ('from typing import Generic\nvar: Generic[T]', 'Generic -> typing.Generic'), ('from pydocspec import _model as m\nvar: m.TreeRoot[T]', 'm.TreeRoot -> pydocspec._model.TreeRoot'), ('var: dict[str, str]', 'dict -> dict')])
def test_node2fullname_nodes(mod_from_text, source, expected, capsys): (source)

Undocumented

Parameters
mod_from_text:ModFromTextFunctionUndocumented
source:strUndocumented
expected:strUndocumented
capsys:CapSysUndocumented