Skip to content

Commit 601837d

Browse files
isidore4dsherwoodnitsanavnisusanfungTegsy
committed
- r introduced T1
Co-Authored-By: 4dsherwood <4dsherwood@users.noreply.github.com> Co-Authored-By: Nitsan Avni <nitsanav@gmail.com> Co-Authored-By: Susan Fung <38925660+susanfung@users.noreply.github.com> Co-Authored-By: T. E. Green <78671457+Tegsy@users.noreply.github.com>
1 parent 769fa70 commit 601837d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

TODO.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Test are running on all CI machine
22

33
Typing -> Talking -> Next
4-
Diana
54
Susan
65
Llewellyn
76
Teresa
87
Nitsan
8+
Diana
99

1010
We're doing "ping pong style" rotation
1111
Rotate on each successful test run, after **any** smallest improvement to the code

approvaltests/inline/parse.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def transformer(s: str) -> Tuple[T1, T2]:
6060
# 'int1' is not used, let's start use it
6161
# add in callable
6262
# done: verify_all signature is incorrect
63-
def transform3(self, transform1, transform2, int1) -> "Parse3[str, int, int]":
64-
def transformer(s: str) -> Tuple[str, int, int]:
63+
def transform3(self, transform1: Callable[[str], T1], transform2, int1) -> "Parse3[T1, int, int]":
64+
def transformer(s: str) -> Tuple[T1, int, int]:
6565
parts = s.split(",")
6666
parts = list(map(lambda p: p.strip(), parts))
6767
return (transform1(parts[0]), transform2(parts[1]), int(parts[2]))

0 commit comments

Comments
 (0)