def METHOD_NAME(self, secrets: list):
    """ Infinityがinfに変換されているかのTest """
    for party_size in range(2, 10):
        shares = Share.sharize(secrets, party_size=party_size)
        def is_inf(val):
            ok: bool = True
            if isinstance(val, list):
                for v in val:
                    ok &= is_inf(v)
            else:
                ok &= (val == 'inf')
            return ok
        assert (is_inf(shares[0]))