]> granicus.if.org Git - python/commitdiff
bpo-36679: Rename duplicate test_class_getitem function (GH-12892)
authorWindson yang <wiwindson@outlook.com>
Mon, 22 Apr 2019 18:51:06 +0000 (02:51 +0800)
committerSteve Dower <steve.dower@microsoft.com>
Mon, 22 Apr 2019 18:51:06 +0000 (11:51 -0700)
Lib/test/test_genericclass.py

index 37a87bc6815ec2fb414f392db36a9ddd32dcdbd3..27420d4f2bad54dc3967c86694a6067f3a60e546 100644 (file)
@@ -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__}]'