mirror of
https://github.com/python/cpython.git
synced 2025-10-18 12:48:57 +00:00
improve test name
This commit is contained in:
parent
d17cefc787
commit
af3dcd2f98
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue