summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/async_for.py.exp
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-17 00:10:49 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-17 00:10:49 +1100
commitaeb2655073970f8b51572cf033274800a67b23ee (patch)
tree7b7e6c4ffcb00b43229853b9f010d8a75d3a82af /tests/basics/async_for.py.exp
parent40863fce6fe9fca50f5c31c340d688310a14653b (diff)
downloadmicropython-aeb2655073970f8b51572cf033274800a67b23ee.tar.gz
micropython-aeb2655073970f8b51572cf033274800a67b23ee.zip
py/runtime: Fix handling of throw() when resuming generator.
If GeneratorExit is injected as a throw-value then that should lead to the close() method being called, if it exists. If close() does not exist then throw() should not be called, and this patch fixes this.
Diffstat (limited to 'tests/basics/async_for.py.exp')
0 files changed, 0 insertions, 0 deletions