Skip to content

Commit 7df4ca1

Browse files
InAnYansobolevn
andauthored
Update tests/test_maybe/test_maybe_conversions.py
Co-authored-by: sobolevn <mail@sobolevn.me>
1 parent 6500024 commit 7df4ca1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/test_maybe/test_maybe_conversions.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ def test_nothing_is_false() -> None:
1212
assert not bool(Nothing)
1313

1414

15-
def test_some_none_is_true():
16-
"""Ensures that ``Something(None)`` is ``True`` when treated as a boolean.
15+
def test_some_none_is_true() -> None:
16+
"""
17+
Ensures that ``Something(None)`` is ``True`` when treated as a boolean.
1718
1819
See <https://github.com/dry-python/returns/issues/2177> for the discussion
1920
of this design choice.

0 commit comments

Comments
 (0)