-
- Downloads
tests/basics: Provide .exp files for generator tests that fail PEP479.
PEP479 (see https://www.python.org/dev/peps/pep-0479/) prohibited raising StopIteration from within a generator (it is turned into a RuntimeError). This behaviour was introduced in Python 3.5 and in 3.7 was made compulsory. Until uPy implements PEP479, this patch adds .py.exp files for the relevant tests so they can be run under Python 3.7.
Showing
- tests/basics/gen_yield_from.py.exp 14 additions, 0 deletionstests/basics/gen_yield_from.py.exp
- tests/basics/gen_yield_from_close.py.exp 20 additions, 0 deletionstests/basics/gen_yield_from_close.py.exp
- tests/basics/gen_yield_from_throw.py.exp 6 additions, 0 deletionstests/basics/gen_yield_from_throw.py.exp
- tests/basics/generator_close.py.exp 10 additions, 0 deletionstests/basics/generator_close.py.exp
tests/basics/gen_yield_from.py.exp
0 → 100644
tests/basics/gen_yield_from_close.py.exp
0 → 100644
tests/basics/gen_yield_from_throw.py.exp
0 → 100644
tests/basics/generator_close.py.exp
0 → 100644
Please register or sign in to comment