def METHOD_NAME(self):
    getitem_args = []
    class C:
        def __class_getitem__(*args, **kwargs):
            getitem_args.extend([args, kwargs])
            return None
    C[int, str]
    self.assertEqual(getitem_args[0], (C, (int, str)))
    self.assertEqual(getitem_args[1], {})