diff --git a/Lib/test/test_decorators.py b/Lib/test/test_decorators.py index 7809f44e77..d6c4cd5666 100644 --- a/Lib/test/test_decorators.py +++ b/Lib/test/test_decorators.py @@ -274,8 +274,6 @@ class TestDecorators(unittest.TestCase): self.assertEqual(bar(), 42) self.assertEqual(actions, expected_actions) - # this test was already not working before adding the Py39 decorator extension - @unittest.expectedFailure('TODO RustPython') def test_wrapped_descriptor_inside_classmethod(self): class BoundWrapper: def __init__(self, wrapped): diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py index 66bfcc52d4..6e6e33f795 100644 --- a/Lib/test/test_types.py +++ b/Lib/test/test_types.py @@ -390,8 +390,7 @@ class TypesTests(unittest.TestCase): self.assertEqual(locale.format_string('%g', x, grouping=True), format(x, 'n')) self.assertEqual(locale.format_string('%.10g', x, grouping=True), format(x, '.10n')) - # DONE but why? - #@unittest.expectedFailure + @unittest.expectedFailure @run_with_locale('LC_NUMERIC', 'en_US.UTF8') def test_int__format__locale(self): # test locale support for __format__ code 'n' for integers diff --git a/parser/src/python.lalrpop b/parser/src/python.lalrpop index 5a7dae32da..c0958a1146 100644 --- a/parser/src/python.lalrpop +++ b/parser/src/python.lalrpop @@ -606,7 +606,7 @@ Path: ast::Expression = { // Decorators: Decorator: ast::Expression = { - "@" "\n" => { + "@" "\n" => { p }, };