Skip to content

Commit e3675a0

Browse files
committed
Expand Lit_commit_ish test name and write docstring
1 parent 52e7360 commit e3675a0

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-
def test_lit_commit_ish() -> None:
22-
""" """
21+
def test_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
with pytest.deprecated_call() as ctx:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy