https://github.com/python/cpython/commit/af0d3268d9ae6090877c276c12ee6712b56578e7
commit: af0d3268d9ae6090877c276c12ee6712b56578e7
branch: main
author: CF Bolz-Tereick <cfb...@gmx.de>
committer: cfbolz <cfb...@gmx.de>
date: 2025-05-31T13:38:05+02:00
summary:

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.

files:
M Lib/test/test_class.py

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:

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to