Mailing List Archive

bpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691)
https://github.com/python/cpython/commit/4fad314246399b69ef0c57ba8527d9efade99069
commit: 4fad314246399b69ef0c57ba8527d9efade99069
branch: main
author: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
committer: rhettinger <rhettinger@users.noreply.github.com>
date: 2021-11-22T08:44:57-06:00
summary:

bpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691)

files:
M Lib/test/test_collections.py

diff --git a/Lib/test/test_collections.py b/Lib/test/test_collections.py
index 1bfd44f954788..48327bf50ea42 100644
--- a/Lib/test/test_collections.py
+++ b/Lib/test/test_collections.py
@@ -668,6 +668,7 @@ class Point(namedtuple('_Point', ['x', 'y'])):
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)

_______________________________________________
Python-checkins mailing list
Python-checkins@python.org
https://mail.python.org/mailman/listinfo/python-checkins