Undocumented
Function | process |
Undocumented |
Function | test |
Test reparenting of documentables. A name which is defined in module 1, but included in __all__ of module 2 that it is imported into, should end up in the documentation of module 2. |
Function | test |
Test whether names are resolved correctly when we have import cycles. The test package contains module 'a' that defines class 'A' and module 'b' that defines class 'B'; each module imports the other. Since the test data is symmetrical, we will at some point be importing a module that has not been fully processed yet, no matter which module gets processed first. |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
When a module and a package have the same full name, the package wins. |
Function | test |
Undocumented |
Function | test |
A module that is imported in a package as a different name and exported in that package under the new name via __all__ is presented using the new name. |
Function | test |
Test for https://github.com/twisted/pydoctor/issues/513 |
Function | test |
Test for https://github.com/twisted/pydoctor/issues/505 |
Variable | testpackages |
Undocumented |
Undocumented
Parameters | |
packname:str | Undocumented |
systemcls:Callable[ | Undocumented |
Returns | |
model.System | Undocumented |
Test reparenting of documentables. A name which is defined in module 1, but included in __all__ of module 2 that it is imported into, should end up in the documentation of module 2.
Test whether names are resolved correctly when we have import cycles. The test package contains module 'a' that defines class 'A' and module 'b' that defines class 'B'; each module imports the other. Since the test data is symmetrical, we will at some point be importing a module that has not been fully processed yet, no matter which module gets processed first.
A module that is imported in a package as a different name and exported in that package under the new name via __all__ is presented using the new name.
def test_reparenting_crash(modname): (source) ¶
Test for https://github.com/twisted/pydoctor/issues/513
Parameters | |
modname:str | Undocumented |