Python: dataflow regression tests: fix flow_in_iteration

This commit is contained in:
Rasmus Wriedt Larsen
2020-09-02 13:50:24 +02:00
parent 4977790617
commit 552637a446

View File

@@ -201,8 +201,8 @@ def flow_through_type_test_if_no_class():
def flow_in_iteration():
t = ITERABLE_SOURCE # Seems to not be sunk anywhere
for i in t:
i
return i
SINK(i)
SINK(i)
def flow_in_generator():
seq = [SOURCE]