From af0d3268d9ae6090877c276c12ee6712b56578e7 Mon Sep 17 00:00:00 2001 From: CF Bolz-Tereick Date: Sat, 31 May 2025 13:38:05 +0200 Subject: [PATCH] Skip test as cpython_only that checks whether setattr interns the attribute or not (#134972) Skip test that checks whether setattr interns the attribute or not The details of when a string is being interned or not is implementation dependent. --- Lib/test/test_class.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py index 4c12d43556fc..8c7a62a74ba9 100644 --- a/Lib/test/test_class.py +++ b/Lib/test/test_class.py @@ -652,6 +652,7 @@ class ClassTests(unittest.TestCase): a = A(hash(A.f)^(-1)) hash(a.f) + @cpython_only def testSetattrWrapperNameIntern(self): # Issue #25794: __setattr__ should intern the attribute name class A: -- 2.47.3