I am doing
type SingleStringInput = Callable[[str], None]
EDIT:
I got the problem. You need a new line at the end since it seems as if it is concatenating my last line to the first line of the test.