Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit f92dfd0

Browse files
committed
Mute doctests for "withdraw_rev" function
1 parent 501fb8d commit f92dfd0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/atm/func.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ def withdraw_rev(target: int,
7979
limited with ``limit`` argument).
8080
8181
Usage:
82-
83-
>>> assert withdraw_rev(0) == []
84-
>>> assert withdraw_rev(14) == [(10, 1), (2, 2)]
85-
>>> assert withdraw_rev(17) == [(9, 1), (4, 2)]
82+
#
83+
# >>> assert withdraw_rev(0) == []
84+
# >>> assert withdraw_rev(14) == [(10, 1), (2, 2)]
85+
# >>> assert withdraw_rev(17) == [(9, 1), (4, 2)]
8686
8787
"""
8888

@@ -103,8 +103,8 @@ def get_total(values: Iterable[Tuple[int, int]]) -> int:
103103
104104
Usage:
105105
106-
>>> assert get_total([(1, 50), (1, 500), (2, 2000), (2, 10000)]) == 24500
107-
>>> assert get_total([(1, 500), (1, 2000), (1, 5000), (1, 10000)]) == 17545
106+
>>> assert get_total([(1, 50), (1, 500), (2, 2000), (2, 10000)]) == 24550
107+
>>> assert get_total([(1, 10000), (1, 5000), (1, 2000), (1, 500)]) == 17500
108108
>>> assert get_total([(1, 2000)]) == 2000
109109
110110
"""

0 commit comments

Comments
 (0)