We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here's a test that is currently failing:
@pytest.mark.xfail @systemcls_param def test_links_function_docstring_imports_in_body(systemcls: Type[model.System]) -> None: mod = ''' def expandName(name: str) -> str: """ See L{names.expandName} """ from pydoctor import names return names.expandName(name) ''' _impl = ''' def expandName(name: str) -> str: """Docs""" ... ''' system = systemcls() builder = system.systemBuilder(system) builder.addModuleString('', modname='pydoctor', is_package=True) builder.addModuleString(mod, modname='pydoctor.model') builder.addModuleString(_impl, modname='pydoctor.names') builder.buildModules() fn = system.allobjects['pydoctor.model.expandName'] assert fn.expandName('names.expandName') == 'pydoctor.names.expandName'
I believe we need the distinction between CanContainImport and CanContainDocumentable.
CanContainImport
CanContainDocumentable
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here's a test that is currently failing:
I believe we need the distinction between
CanContainImport
andCanContainDocumentable
.The text was updated successfully, but these errors were encountered: