From 434a46073473908adf08345d5e9bf1529305bbc1 Mon Sep 17 00:00:00 2001 From: tristanlatr <19967168+tristanlatr@users.noreply.github.com> Date: Sat, 30 Sep 2023 19:39:41 -0400 Subject: [PATCH] Fix space --- pydoctor/astbuilder.py | 2 +- pydoctor/test/test_astbuilder.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pydoctor/astbuilder.py b/pydoctor/astbuilder.py index 55320fd3d..1d7da427f 100644 --- a/pydoctor/astbuilder.py +++ b/pydoctor/astbuilder.py @@ -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) diff --git a/pydoctor/test/test_astbuilder.py b/pydoctor/test/test_astbuilder.py index fad7fa761..53c5aab93 100644 --- a/pydoctor/test/test_astbuilder.py +++ b/pydoctor/test/test_astbuilder.py @@ -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