Skip to content

Commit 3667393

Browse files
say "while importing"
Co-authored-by: Pierre Sassoulas <[email protected]>
1 parent 5e29dc0 commit 3667393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astroid/modutils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,11 @@ def load_module_from_name(dotted_name: str) -> types.ModuleType:
187187
stderr_value = stderr.getvalue()
188188
if stderr_value:
189189
logger.error(
190-
"Captured stderr from importing %s:\n%s", dotted_name, stderr_value
190+
"Captured stderr while importing %s:\n%s", dotted_name, stderr_value
191191
)
192192
stdout_value = stdout.getvalue()
193193
if stdout_value:
194-
logger.info("Captured stdout from importing %s:\n%s", dotted_name, stdout_value)
194+
logger.info("Captured stdout while importing %s:\n%s", dotted_name, stdout_value)
195195

196196
return module
197197

0 commit comments

Comments
 (0)