Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd00c843

Browse files
committed
Clarify how test_private_module_aliases is statically checkable
1 parentdbaa535 commitd00c843

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎test/deprecation/test_attributes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ def test_util_alias_import_warns() -> None:
5252
deftest_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)

[8]ページ先頭

©2009-2025 Movatter.jp