mypy: Add type parameter for IO in test-queue-worker-reload.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-11-01 21:12:22 -07:00 committed by Tim Abbott
parent 458ab3020d
commit a5d1fdf0d6
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ successful_worker_launches = [
]
def check_worker_launch(logfile):
# type: (IO) -> Text
# type: (IO[str]) -> Text
def check(content):
# type: (str) -> bool
flag = True