mirror of https://github.com/python/cpython
improve test name
This commit is contained in:
parent
d17cefc787
commit
af3dcd2f98
|
@ -4253,7 +4253,7 @@ order (MRO) for bases """
|
||||||
foo = Foo()
|
foo = Foo()
|
||||||
str(foo)
|
str(foo)
|
||||||
|
|
||||||
def test_slot_shadows_class(self):
|
def test_slot_shadows_class_variable(self):
|
||||||
with self.assertRaises(ValueError) as cm:
|
with self.assertRaises(ValueError) as cm:
|
||||||
class X:
|
class X:
|
||||||
__slots__ = ["foo"]
|
__slots__ = ["foo"]
|
||||||
|
|
Loading…
Reference in New Issue