tests/basics: Move test for "return" outside function to own file.
Because its behaviour is conditional on MICROPY_CPYTHON_COMPAT.
This commit is contained in:
committed by
Damien George
parent
e6c9800645
commit
dbed8f576d
@@ -82,7 +82,6 @@ test_syntax("break")
|
||||
test_syntax("continue")
|
||||
|
||||
# must be in a function
|
||||
test_syntax("return")
|
||||
test_syntax("yield")
|
||||
test_syntax("nonlocal a")
|
||||
test_syntax("await 1")
|
||||
|
||||
Reference in New Issue
Block a user