Skip to content

Commit e9bc79d

Browse files
youknowonefanninpm
andauthored
Lib/test/test_descr.py Fix comment to clarify cpython originated expectedFailure
Co-authored-by: fanninpm <[email protected]>
1 parent 910fe62 commit e9bc79d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_descr.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1848,7 +1848,8 @@ def __init__(self, foo):
18481848
object.__init__(A(3))
18491849
self.assertRaises(TypeError, object.__init__, A(3), 5)
18501850

1851-
# RUSTPYTHON: this is added from cpython3.11.2. below test case is success in rustpython
1851+
# TODO: RUSTPYTHON, CPython 3.5 and above expect this test case to fail, but in RustPython this currently passes.
1852+
# See https://github.com/python/cpython/issues/49572 for more details.
18521853
# @unittest.expectedFailure
18531854
def test_restored_object_new(self):
18541855
class A(object):

0 commit comments

Comments
 (0)