Fix py3.5

This commit is contained in:
Erik Johnston 2019-10-10 12:47:07 +01:00
parent c349e3ebaf
commit 59e0ed8306
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ def _check_yield_points(f: Callable, changes: List[str]):
gen = f(*args, **kwargs) gen = f(*args, **kwargs)
last_yield_line_no = gen.gi_frame.f_lineno last_yield_line_no = gen.gi_frame.f_lineno
result: Any = None result = None # type: Any
while True: while True:
expected_context = LoggingContext.current_context() expected_context = LoggingContext.current_context()