https://github.com/python/cpython/commit/af0d3268d9ae6090877c276c12ee6712b56578e7
commit: af0d3268d9ae6090877c276c12ee6712b56578e7
branch: main
author: CF Bolz-Tereick <[email protected]>
committer: cfbolz <[email protected]>
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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]