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

+2-2
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)