Skip to content

Commit d00c843

Browse files
committed
Clarify how test_private_module_aliases is statically checkable
1 parent dbaa535 commit d00c843

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/deprecation/test_attributes.py

+3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ def test_util_alias_import_warns() -> None:
5252
def test_private_module_aliases() -> None:
5353
"""These exist dynamically (for now) but mypy treats them as absent (intentionally).
5454
55+
This code verifies the effect of static type checking when analyzed by mypy, if mypy
56+
is configured with ``warn_unused_ignores = true``.
57+
5558
More detailed dynamic behavior is examined in the subsequent test cases.
5659
"""
5760
git.head # type: ignore[attr-defined]

0 commit comments

Comments
 (0)