Skip to content

Commit 258fca7

Browse files
committed
improve comment
1 parent 1e59296 commit 258fca7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypy/stubtest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,9 @@ def get_importable_stdlib_modules() -> set[str]:
17211721
# and we're unlikely to ever add stubs for idlelib in typeshed
17221722
# (see discussion in https://github.com/python/typeshed/pull/9193)
17231723
#
1724-
# test.* modules do weird things like raising unraisable exceptions in __del__ methods
1724+
# test.* modules do weird things like raising exceptions in __del__ methods,
1725+
# leading to unraisable exceptions being logged to the terminal
1726+
# as a warning at the end of the stubtest run
17251727
if (
17261728
submodule_name.endswith(".__main__")
17271729
or submodule_name.startswith("idlelib.")

0 commit comments

Comments
 (0)