Update test_decorators from Cpython v3.11.2 by Masorubka1 · Pull Request #4806 · RustPython/RustPython
# TODO: RUSTPYTHON @unittest.expectedFailure def test_bound_function_inside_classmethod(self): class A: def foo(self, cls): return 'spam'
class B: bar = classmethod(A().foo)
self.assertEqual(B.bar(), 'spam')
def test_wrapped_classmethod_inside_classmethod(self): class MyClassMethod1: def __init__(self, func):