From 2187e930324510bcbd32990134ef3f1589963efa Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Thu, 22 Apr 2021 14:11:04 -0400 Subject: [PATCH] Mark failing tests --- Lib/test/test_syntax.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py index 128c4da14..069834c09 100644 --- a/Lib/test/test_syntax.py +++ b/Lib/test/test_syntax.py @@ -673,6 +673,8 @@ class SyntaxTestCase(unittest.TestCase): def test_assign_del(self): self._check_error("del f()", "delete") + # TODO: RUSTPYTHON + @unittest.expectedFailure def test_global_param_err_first(self): source = """if 1: def error(a): @@ -731,6 +733,8 @@ class SyntaxTestCase(unittest.TestCase): self._check_error("class C:\n if 1: pass\n else: break", "outside loop") + # TODO: RUSTPYTHON + @unittest.expectedFailure def test_continue_outside_loop(self): self._check_error("if 0: continue", "not properly in loop") self._check_error("if 0: continue\nelse: x=1", "not properly in loop") @@ -756,11 +760,15 @@ class SyntaxTestCase(unittest.TestCase): self._check_error("int(base=10, '2')", "positional argument follows keyword argument") + # TODO: RUSTPYTHON + @unittest.expectedFailure def test_kwargs_last2(self): self._check_error("int(**{'base': 10}, '2')", "positional argument follows " "keyword argument unpacking") + # TODO: RUSTPYTHON + @unittest.expectedFailure def test_kwargs_last3(self): self._check_error("int(**{'base': 10}, *['2'])", "iterable argument unpacking follows "