Mailing List Archive

bpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691) (GH-29709)
https://github.com/python/cpython/commit/455ed45d7c30c5f2a31c524b015c48ac85f3d27c
commit: 455ed45d7c30c5f2a31c524b015c48ac85f3d27c
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
committer: rhettinger <rhettinger@users.noreply.github.com>
date: 2021-11-22T10:36:28-06:00
summary:

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

files:
M Lib/test/test_collections.py

diff --git a/Lib/test/test_collections.py b/Lib/test/test_collections.py
index 9e1174743591c..e320ef3732b21 100644
--- a/Lib/test/test_collections.py
+++ b/Lib/test/test_collections.py
@@ -663,6 +663,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