]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 Dec 2021 00:02:00 +0000 (16:02 -0800)
committerGitHub <noreply@github.com>
Sat, 11 Dec 2021 00:02:00 +0000 (01:02 +0100)
(cherry picked from commit 4fad314246399b69ef0c57ba8527d9efade99069)

Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
Lib/test/test_collections.py

index a961821230c7b24b3f25a8ca484ff3099fd07b7e..6b55b892091f31ae4cc29986d0296e752feb414b 100644 (file)
@@ -589,6 +589,7 @@ class TestNamedTuple(unittest.TestCase):
         a.w = 5
         self.assertEqual(a.__dict__, {'w': 5})
 
+    @support.cpython_only
     def test_field_descriptor(self):
         Point = namedtuple('Point', 'x y')
         p = Point(11, 22)