implementation of generalized decorators and test update from cpython · ugaemi/RustPython@ebebda3 · GitHub
Skip to content

Commit ebebda3

Browse files
committed
implementation of generalized decorators and test update from cpython
1 parent 4647731 commit ebebda3

3 files changed

Lines changed: 68 additions & 30 deletions

File tree

Lib/test/test_decorators.py

Lines changed: 64 additions & 14 deletions

Lib/test/test_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ def test_float__format__locale(self):
390390
self.assertEqual(locale.format_string('%g', x, grouping=True), format(x, 'n'))
391391
self.assertEqual(locale.format_string('%.10g', x, grouping=True), format(x, '.10n'))
392392

393-
# TODO: RUSTPYTHON
394-
@unittest.expectedFailure
393+
# DONE but why?
394+
#@unittest.expectedFailure
395395
@run_with_locale('LC_NUMERIC', 'en_US.UTF8')
396396
def test_int__format__locale(self):
397397
# test locale support for __format__ code 'n' for integers

parser/src/python.lalrpop

Lines changed: 2 additions & 14 deletions

0 commit comments

Comments
 (0)