mirror of https://github.com/python/cpython.git
bpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691) (GH-29708)
(cherry picked from commit 4fad314246
)
Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
This commit is contained in:
parent
10343bd983
commit
56b5cd52ab
|
@ -668,6 +668,7 @@ class Point(namedtuple('_Point', ['x', 'y'])):
|
||||||
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…
Reference in New Issue