Skip to content

Commit 5977a6e

Browse files
committed
Fix (and improve wording) of docstrings
1 parent 7a4f7eb commit 5977a6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/deprecation/test_attributes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_util_alias_import() -> None:
105105

106106

107107
def test_private_module_alias_access() -> None:
108-
"""Non-util private alias access works, warns, but is a deliberate mypy error."""
108+
"""Non-util private alias access works but warns and is a deliberate mypy error."""
109109
with pytest.deprecated_call() as ctx:
110110
assert (
111111
git.head, # type: ignore[attr-defined]
@@ -128,7 +128,7 @@ def test_private_module_alias_access() -> None:
128128

129129

130130
def test_private_module_alias_import() -> None:
131-
"""Non-util private alias access works, warns, but is a deliberate mypy error."""
131+
"""Non-util private alias import works but warns and is a deliberate mypy error."""
132132
with pytest.deprecated_call() as ctx:
133133
from git import head # type: ignore[attr-defined]
134134
from git import log # type: ignore[attr-defined]

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