Skip to content

Commit af0d326

Browse files
authored
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.
1 parent c81446a commit af0d326

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_class.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@ class B(A):
652652
a = A(hash(A.f)^(-1))
653653
hash(a.f)
654654

655+
@cpython_only
655656
def testSetattrWrapperNameIntern(self):
656657
# Issue #25794: __setattr__ should intern the attribute name
657658
class A:

0 commit comments

Comments
 (0)