From dbed8f576d71ea373add62a6e35dfb6ad65720f2 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Tue, 4 Feb 2020 16:34:38 +0100 Subject: tests/basics: Move test for "return" outside function to own file. Because its behaviour is conditional on MICROPY_CPYTHON_COMPAT. --- tests/basics/syntaxerror.py | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/basics/syntaxerror.py') diff --git a/tests/basics/syntaxerror.py b/tests/basics/syntaxerror.py index 8e706c6e2..c0702cb24 100644 --- a/tests/basics/syntaxerror.py +++ b/tests/basics/syntaxerror.py @@ -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") -- cgit v1.2.3