mirror of
https://github.com/python/cpython.git
synced 2025-08-21 17:25:34 +00:00
bpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691) (GH-29709)
This commit is contained in:
parent
e81e1d7f81
commit
455ed45d7c
1 changed files with 1 additions and 0 deletions
|
@ -663,6 +663,7 @@ class TestNamedTuple(unittest.TestCase):
|
||||||
a.w = 5
|
a.w = 5
|
||||||
self.assertEqual(a.__dict__, {'w': 5})
|
self.assertEqual(a.__dict__, {'w': 5})
|
||||||
|
|
||||||
|
@support.cpython_only
|
||||||
def test_field_descriptor(self):
|
def test_field_descriptor(self):
|
||||||
Point = namedtuple('Point', 'x y')
|
Point = namedtuple('Point', 'x y')
|
||||||
p = Point(11, 22)
|
p = Point(11, 22)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue