From e9bc79d5ffa9498a2fdeb5f6a83fd82acb8881ae Mon Sep 17 00:00:00 2001 From: "Jeong, YunWon" <69878+youknowone@users.noreply.github.com> Date: Tue, 28 Mar 2023 01:36:12 +0900 Subject: [PATCH] Lib/test/test_descr.py Fix comment to clarify cpython originated expectedFailure Co-authored-by: fanninpm --- Lib/test/test_descr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 6a5cfad23..1a70d8b0c 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -1848,7 +1848,8 @@ order (MRO) for bases """ object.__init__(A(3)) self.assertRaises(TypeError, object.__init__, A(3), 5) - # RUSTPYTHON: this is added from cpython3.11.2. below test case is success in rustpython + # TODO: RUSTPYTHON, CPython 3.5 and above expect this test case to fail, but in RustPython this currently passes. + # See https://github.com/python/cpython/issues/49572 for more details. # @unittest.expectedFailure def test_restored_object_new(self): class A(object):