Skip to content

Commit 42da011

Browse files
authored
Remove duplicate test (see python#25863)
1 parent 375bf08 commit 42da011

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Lib/test/test_class.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -604,13 +604,6 @@ def add(self, other):
604604
with self.assertRaises(TypeError):
605605
A() + 1
606606

607-
def testSetattrNonStringName(self):
608-
class A:
609-
pass
610-
611-
with self.assertRaises(TypeError):
612-
type.__setattr__(A, b'x', None)
613-
614607
def testConstructorErrorMessages(self):
615608
# bpo-31506: Improves the error message logic for object_new & object_init
616609

0 commit comments

Comments
 (0)