Skip to content

Commit

Permalink
Fix space
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr committed Oct 1, 2023
1 parent d5d176a commit 434a460
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pydoctor/astbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def processReExports(system:'model.System') -> None:
msg = f"cannot resolve origin module of re-exported name: {orgname or local_name!r}"
if orgname and local_name!=orgname:
msg += f" as {local_name!r}"
msg += f"from origin module {imported_name.orgmodule!r}"
msg += f" from origin module {imported_name.orgmodule!r}"
mod.report(msg, lineno_offset=imported_name.linenumber)

exports_per_target:Dict[model.Documentable, List[ReExport]] = defaultdict(list)
Expand Down
2 changes: 1 addition & 1 deletion pydoctor/test/test_astbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2866,7 +2866,7 @@ class Slc:...

assert list(system.allobjects['pack'].contents) == ['_src0', '_src1']

assert capsys.readouterr().out == ("pack:1: cannot resolve origin module of re-exported name: 'Slc'from origin module 'pack._src2'\n"
assert capsys.readouterr().out == ("pack:1: cannot resolve origin module of re-exported name: 'Slc' from origin module 'pack._src2'\n"
"pack:1: cannot resolve re-exported name: 'pack._src1.Cls'\n")

@systemcls_param
Expand Down

0 comments on commit 434a460

Please sign in to comment.