Skip to content

Commit d437012

Browse files
Windsooonzooba
authored andcommitted
bpo-36679: Rename duplicate test_class_getitem function (GH-12892)
1 parent c442b1c commit d437012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_genericclass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def __class_getitem__(*args, **kwargs):
158158
self.assertEqual(getitem_args[0], (C, (int, str)))
159159
self.assertEqual(getitem_args[1], {})
160160

161-
def test_class_getitem(self):
161+
def test_class_getitem_format(self):
162162
class C:
163163
def __class_getitem__(cls, item):
164164
return f'C[{item.__name__}]'

0 commit comments

Comments
 (0)