From 51a303a834410e2331f1b1420d362db1e3d0cad2 Mon Sep 17 00:00:00 2001 From: CF Bolz-Tereick Date: Sat, 31 May 2025 12:49:34 +0200 Subject: [PATCH] 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 4c12d43556fc2a..8c7a62a74ba90e 100644 --- a/Lib/test/test_class.py +++ b/Lib/test/test_class.py @@ -652,6 +652,7 @@ class B(A): a = A(hash(A.f)^(-1)) hash(a.f) + @cpython_only def testSetattrWrapperNameIntern(self): # Issue #25794: __setattr__ should intern the attribute name class A: