Fix py3.5
This commit is contained in:
parent
c349e3ebaf
commit
59e0ed8306
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue