tests/basics: Add test for use of return within try-except.
The case of a return statement in the try suite of a try-except statement was previously only tested by builtin_compile.py, and only then in the part of this test which checked for the existence of the compile builtin. So this patch adds an explicit unit test for this case.
Showing
tests/basics/try_return.py
0 → 100644
想要评论请 注册 或 登录