From: CF Bolz-Tereick Date: Sat, 31 May 2025 11:38:05 +0000 (+0200) Subject: Skip test as cpython_only that checks whether setattr interns the attribute or not... X-Git-Tag: v3.15.0a1~1432 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af0d3268d9ae6090877c276c12ee6712b56578e7;p=thirdparty%2FPython%2Fcpython.git 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. --- 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: