]> 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>
Mon, 22 Nov 2021 15:05:54 +0000 (07:05 -0800)
committerGitHub <noreply@github.com>
Mon, 22 Nov 2021 15:05:54 +0000 (09:05 -0600)
(cherry picked from commit 4fad314246399b69ef0c57ba8527d9efade99069)

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

index 75af29b2dc72d97b063d1765cc82c76ef360ece6..3404b8ad1bcf73791df8bc1b7bef0ed74cbea5da 100644 (file)
@@ -668,6 +668,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)