summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-11-22 15:05:54 (GMT)
committerGitHub <noreply@github.com>2021-11-22 15:05:54 (GMT)
commit56b5cd52ab58d8f2f11f253ec1bb3e6000d2dbd2 (patch)
tree058f268958d8a2b7f5308db99354b9ace17e03ba
parent10343bd98390ef15909e3a19f26a6178162996fd (diff)
downloadcpython-56b5cd52ab58d8f2f11f253ec1bb3e6000d2dbd2.zip
cpython-56b5cd52ab58d8f2f11f253ec1bb3e6000d2dbd2.tar.gz
cpython-56b5cd52ab58d8f2f11f253ec1bb3e6000d2dbd2.tar.bz2
bpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691) (GH-29708)
(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>
-rw-r--r--Lib/test/test_collections.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_collections.py b/Lib/test/test_collections.py
index 75af29b..3404b8a 100644
--- a/Lib/test/test_collections.py
+++ b/Lib/test/test_collections.py
@@ -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)