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

Commite3675a0

Browse files
committed
Expand Lit_commit_ish test name and write docstring
1 parent52e7360 commite3675a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/deprecation/test_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def test_cannot_access_undefined() -> None:
1818
git.types.foo# type: ignore[attr-defined]
1919

2020

21-
deftest_lit_commit_ish()->None:
22-
""""""
21+
deftest_can_access_lit_commit_ish_but_it_is_not_usable()->None:
22+
"""Lit_commit_ish_can be accessed, but warns and is an invalid type annotation."""
2323
# It would be fine to test attribute access rather than a "from" import. But a
2424
# "from" import is more likely to appear in actual usage, so it is used here.
2525
withpytest.deprecated_call()asctx:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp