Bump version of mypy

This commit is contained in:
Erik Johnston 2019-12-12 15:21:12 +00:00
parent c965253e4b
commit 495005360c
7 changed files with 12 additions and 7 deletions

View file

@ -405,6 +405,9 @@ class LoggingContext(object):
"""
current = get_thread_resource_usage()
# Indicate to mypy that we know that self.usage_start is None.
assert self.usage_start is not None
utime_delta = current.ru_utime - self.usage_start.ru_utime
stime_delta = current.ru_stime - self.usage_start.ru_stime