Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e12d9e

Browse files
committed
fix property
1 parent db7dd4f commit 8e12d9e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Lib/test/test_descr.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,8 +2356,6 @@ class D(object):
23562356
else:
23572357
self.fail("expected ZeroDivisionError from bad property")
23582358

2359-
# TODO: RUSTPYTHON
2360-
@unittest.expectedFailure
23612359
@unittest.skipIf(sys.flags.optimize >= 2,
23622360
"Docstrings are omitted with -O2 and above")
23632361
def test_properties_doc_attrib(self):
@@ -2384,8 +2382,6 @@ def test_testcapi_no_segfault(self):
23842382
class X(object):
23852383
p = property(_testcapi.test_with_docstring)
23862384

2387-
# TODO: RUSTPYTHON
2388-
@unittest.expectedFailure
23892385
def test_properties_plus(self):
23902386
class C(object):
23912387
foo = property(doc="hello")

0 commit comments

Comments
 (0)