Commit d437012c authored by Windson yang's avatar Windson yang Committed by Steve Dower

bpo-36679: Rename duplicate test_class_getitem function (GH-12892)

parent c442b1c4
......@@ -158,7 +158,7 @@ class TestClassGetitem(unittest.TestCase):
self.assertEqual(getitem_args[0], (C, (int, str)))
self.assertEqual(getitem_args[1], {})
def test_class_getitem(self):
def test_class_getitem_format(self):
class C:
def __class_getitem__(cls, item):
return f'C[{item.__name__}]'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment